aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-29 21:11:04 +0100
committerMax Kellermann <max@duempel.org>2008-10-29 21:11:04 +0100
commitfb08213659dbccd6b483be98fa060be64fe6ea60 (patch)
treeed704cdbce71cd346750b22b49989c5fdefb2d6c
parent8f3d96221902698c295acab1870e43013b509ca2 (diff)
downloadmpd-fb08213659dbccd6b483be98fa060be64fe6ea60.tar.gz
mpd-fb08213659dbccd6b483be98fa060be64fe6ea60.tar.xz
mpd-fb08213659dbccd6b483be98fa060be64fe6ea60.zip
input_file: use GLib for logging
Diffstat (limited to '')
-rw-r--r--src/input_file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input_file.c b/src/input_file.c
index 467719c60..c9543dff4 100644
--- a/src/input_file.c
+++ b/src/input_file.c
@@ -17,7 +17,7 @@
*/
#include "input_file.h"
-#include "log.h"
+#include "gcc.h"
#include <sys/stat.h>
#include <fcntl.h>
@@ -80,8 +80,8 @@ input_file_read(struct input_stream *is, void *ptr, size_t size)
nbytes = read(fd, ptr, size);
if (nbytes < 0) {
is->error = errno;
- DEBUG("input_file_read: error reading: %s\n",
- strerror(is->error));
+ g_debug("input_file_read: error reading: %s\n",
+ strerror(is->error));
return 0;
}