summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-04-20 01:48:45 +0200
committerLennart Poettering <lennart@poettering.net>2011-04-20 01:48:45 +0200
commitec8b1194344627d922fb62bfba17edf17c8646d7 (patch)
tree7cfad8ca8a82147486fefdd291fdddfababa57c5
parent54e4fdef80693f7fd7893bd048bb4d9a258b03a6 (diff)
socket: log more information about invalid poll events
-rw-r--r--src/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.c b/src/socket.c
index 94991a35f5..1f03c22a80 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;
}