diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-04-02 22:58:39 -0400 |
---|---|---|
committer | zbyszek <zbyszek@deli.byod.gmu.edu> | 2015-04-08 11:28:45 -0400 |
commit | 50b03c8ea1248f2d35a9042a3fa959adc0ceb819 (patch) | |
tree | 989ddd3af727026af59a169a1dfa6066bd8ee567 /src/core/automount.c | |
parent | 7b742b3130941b5c8d5e178b6694428fb3b61086 (diff) |
core/automount: beef up error message
This should not happen... but when it does more information is nice.
Diffstat (limited to 'src/core/automount.c')
-rw-r--r-- | src/core/automount.c | 3 |
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; } |