]> err.no Git - systemd/commitdiff
socket: log more information about invalid poll events
authorLennart Poettering <lennart@poettering.net>
Tue, 19 Apr 2011 23:48:45 +0000 (01:48 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 19 Apr 2011 23:48:45 +0000 (01:48 +0200)
src/socket.c

index 94991a35f58fc068982b6c1b01ea9224579d060f..1f03c22a8068824d58d49422df165f34426f71ef 100644 (file)
@@ -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;
         }