From ec8b1194344627d922fb62bfba17edf17c8646d7 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 20 Apr 2011 01:48:45 +0200 Subject: [PATCH] socket: log more information about invalid poll events --- src/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket.c b/src/socket.c index 94991a35f58..1f03c22a806 100644 --- a/src/socket.c +++ b/src/socket.c @@ -1612,7 +1612,7 @@ static void socket_fd_event(Unit *u, int fd, uint32_t events, Watch *w) { log_debug("Incoming traffic on %s", u->meta.id); if (events != EPOLLIN) { - log_error("Got invalid poll event on socket."); + log_error("%s: Got invalid poll event (0x%x) on socket.", u->meta.id, events); goto fail; }