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:
parent
54e4fdef80
commit
ec8b119434
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user