Blame SOURCES/0163-core-automount-beef-up-error-message.patch
|
|
1ff636 |
From 64b6bcb807fdafc3609ab0019b3d8e9186fed632 Mon Sep 17 00:00:00 2001
|
|
|
1ff636 |
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
|
|
1ff636 |
Date: Thu, 2 Apr 2015 22:58:39 -0400
|
|
|
1ff636 |
Subject: [PATCH] core/automount: beef up error message
|
|
|
1ff636 |
|
|
|
1ff636 |
This should not happen... but when it does more information is nice.
|
|
|
1ff636 |
|
|
|
1ff636 |
(cherry picked from commit 50b03c8ea1248f2d35a9042a3fa959adc0ceb819)
|
|
|
1ff636 |
|
|
|
1ff636 |
Cherry-picked from: 5670709
|
|
|
1ff636 |
Resolves: #1222517
|
|
|
1ff636 |
---
|
|
|
1ff636 |
src/core/automount.c | 3 ++-
|
|
|
1ff636 |
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
1ff636 |
|
|
|
1ff636 |
diff --git a/src/core/automount.c b/src/core/automount.c
|
|
|
181b3f |
index e4c79415d..b391f6198 100644
|
|
|
1ff636 |
--- a/src/core/automount.c
|
|
|
1ff636 |
+++ b/src/core/automount.c
|
|
|
1ff636 |
@@ -734,7 +734,8 @@ static int automount_dispatch_io(sd_event_source *s, int fd, uint32_t events, vo
|
|
|
1ff636 |
assert(fd == a->pipe_fd);
|
|
|
1ff636 |
|
|
|
1ff636 |
if (events != EPOLLIN) {
|
|
|
1ff636 |
- log_unit_error(UNIT(a)->id, "Got invalid poll event on pipe.");
|
|
|
1ff636 |
+ log_unit_error(UNIT(a)->id, "%s: got invalid poll event %"PRIu32" on pipe (fd=%d)",
|
|
|
1ff636 |
+ UNIT(a)->id, events, fd);
|
|
|
1ff636 |
goto fail;
|
|
|
1ff636 |
}
|
|
|
1ff636 |
|