summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/automount.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/automount.c b/src/core/automount.c
index 33a16e1810..f6a6ad5bfd 100644
--- a/src/core/automount.c
+++ b/src/core/automount.c
@@ -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;
}