core/automount: beef up error message

This should not happen... but when it does more information is nice.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2015-04-02 22:58:39 -04:00 committed by zbyszek
parent 7b742b3130
commit 50b03c8ea1

View file

@ -729,7 +729,8 @@ static int automount_dispatch_io(sd_event_source *s, int fd, uint32_t events, vo
assert(fd == a->pipe_fd);
if (events != EPOLLIN) {
log_unit_error(UNIT(a)->id, "Got invalid poll event on pipe.");
log_unit_error(UNIT(a)->id, "%s: got invalid poll event %"PRIu32" on pipe (fd=%d)",
UNIT(a)->id, events, fd);
goto fail;
}