]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core/automount: beef up error message
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 3 Apr 2015 02:58:39 +0000 (22:58 -0400)
committerzbyszek <zbyszek@deli.byod.gmu.edu>
Wed, 8 Apr 2015 15:28:45 +0000 (11:28 -0400)
This should not happen... but when it does more information is nice.

src/core/automount.c

index 33a16e1810fc564e1b05c03abd62bd4cb105c3a2..f6a6ad5bfda4842c29cfb15050b7576ad00cdf66 100644 (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;
         }