From: Zbigniew Jędrzejewski-Szmek Date: Fri, 3 Apr 2015 02:58:39 +0000 (-0400) Subject: core/automount: beef up error message X-Git-Tag: v220~533 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=50b03c8ea1248f2d35a9042a3fa959adc0ceb819;p=thirdparty%2Fsystemd.git core/automount: beef up error message This should not happen... but when it does more information is nice. --- diff --git a/src/core/automount.c b/src/core/automount.c index 33a16e1810f..f6a6ad5bfda 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; }