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 #include #include #include @@ -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));