diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-05-26 23:03:11 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-05-30 09:36:29 -0400 |
commit | 8d2a6145334257c8a9ceabc9dd52dff06cca818e (patch) | |
tree | c74294454229530309b5610292297922314b992f /src/fsck | |
parent | fdd25311706bd32580ec4d43211cdf4665d2f9de (diff) |
fsck: include device name in the message about missing fsck
Diffstat (limited to 'src/fsck')
-rw-r--r-- | src/fsck/fsck.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fsck/fsck.c b/src/fsck/fsck.c index 594f21e070..56cb52dc99 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)); } } |