diff options
author | Max Kellermann <max@duempel.org> | 2009-01-03 14:53:39 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-03 14:53:39 +0100 |
commit | b42e10b83979dd3636b27867bfd46240f73dce79 (patch) | |
tree | 30f18cfa99090e7fa455f44bc57d94bf908f4052 /src/event_pipe.c | |
parent | d1c4f261c83e26c924d75b7f053890a2811f4ff3 (diff) | |
download | mpd-b42e10b83979dd3636b27867bfd46240f73dce79.tar.gz mpd-b42e10b83979dd3636b27867bfd46240f73dce79.tar.xz mpd-b42e10b83979dd3636b27867bfd46240f73dce79.zip |
event_pipe: use GLib logging
Diffstat (limited to '')
-rw-r--r-- | src/event_pipe.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/event_pipe.c b/src/event_pipe.c index 79e667695..87e40c4ea 100644 --- a/src/event_pipe.c +++ b/src/event_pipe.c @@ -19,8 +19,9 @@ */ #include "event_pipe.h" -#include "log.h" +#include "utils.h" +#include <stdbool.h> #include <assert.h> #include <glib.h> #include <string.h> @@ -55,7 +56,7 @@ consume_pipe(void) bool events[PIPE_EVENT_MAX]; if (r < 0 && errno != EAGAIN && errno != EINTR) - FATAL("error reading from pipe: %s\n", strerror(errno)); + g_error("error reading from pipe: %s", strerror(errno)); g_mutex_lock(event_pipe_mutex); memcpy(events, pipe_events, sizeof(events)); |