socket: log more information about invalid poll events

This commit is contained in:
Lennart Poettering 2011-04-20 01:48:45 +02:00
parent 54e4fdef80
commit ec8b119434
1 changed files with 1 additions and 1 deletions

View 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;
}