1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-07 01:27:11 +03:00

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

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