aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-07-15 14:29:30 +0200
committerMax Kellermann <max@duempel.org>2009-07-15 14:29:30 +0200
commit889b1c1eae6f6de14744371539d17bd85c87a70d (patch)
tree912da8315723074a591845149d7657196b5634d3 /src
parent297d749fc8edf6aa78495372fdcf9857225a3b16 (diff)
downloadmpd-889b1c1eae6f6de14744371539d17bd85c87a70d.tar.gz
mpd-889b1c1eae6f6de14744371539d17bd85c87a70d.tar.xz
mpd-889b1c1eae6f6de14744371539d17bd85c87a70d.zip
state_file: fixed debug messages
Print "Loading" instead of "Saving" in state_file_read(). Added debug message to state_file_write().
Diffstat (limited to '')
-rw-r--r--src/state_file.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/state_file.c b/src/state_file.c
index ceb6ee6e6..073e85f6b 100644
--- a/src/state_file.c
+++ b/src/state_file.c
@@ -44,6 +44,8 @@ state_file_write(void)
if (state_file_path == NULL)
return;
+ g_debug("Saving state file %s", state_file_path);
+
fp = fopen(state_file_path, "w");
if (G_UNLIKELY(!fp)) {
g_warning("failed to create %s: %s",
@@ -65,7 +67,7 @@ state_file_read(void)
assert(state_file_path != NULL);
- g_debug("Saving state file");
+ g_debug("Loading state file %s", state_file_path);
fp = fopen(state_file_path, "r");
if (G_UNLIKELY(!fp)) {