[systemd-commits] src/socket.c

Lennart Poettering lennart at kemper.freedesktop.org
Tue Apr 19 16:48:52 PDT 2011


 src/socket.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ec8b1194344627d922fb62bfba17edf17c8646d7
Author: Lennart Poettering <lennart at poettering.net>
Date:   Wed Apr 20 01:48:45 2011 +0200

    socket: log more information about invalid poll events

diff --git a/src/socket.c b/src/socket.c
index 94991a3..1f03c22 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;
         }
 



More information about the systemd-commits mailing list