From: Zbigniew Jędrzejewski-Szmek Date: Tue, 27 May 2014 03:03:11 +0000 (-0400) Subject: fsck: include device name in the message about missing fsck X-Git-Tag: v214~126 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=8d2a6145334257c8a9ceabc9dd52dff06cca818e fsck: include device name in the message about missing fsck --- 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)); } }