From 8d2a6145334257c8a9ceabc9dd52dff06cca818e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 26 May 2014 23:03:11 -0400 Subject: [PATCH 1/1] fsck: include device name in the message about missing fsck --- src/fsck/fsck.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/fsck/fsck.c b/src/fsck/fsck.c index 594f21e07..56cb52dc9 100644 --- a/src/fsck/fsck.c +++ b/src/fsck/fsck.c @@ -301,10 +301,12 @@ int main(int argc, char *argv[]) { r = fsck_exists(type); if (r < 0) { if (r == -ENOENT) { - log_info("fsck.%s doesn't exist, not checking file system.", type); + log_info("fsck.%s doesn't exist, not checking file system on %s", + type, device); return EXIT_SUCCESS; } else - log_warning("fsck.%s cannot be used: %s", type, strerror(-r)); + log_warning("fsck.%s cannot be used for %s: %s", + type, device, strerror(-r)); } } -- 2.30.2