summaryrefslogtreecommitdiff
path: root/src/fsck
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-05-26 23:03:11 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-05-30 09:36:29 -0400
commit8d2a6145334257c8a9ceabc9dd52dff06cca818e (patch)
treec74294454229530309b5610292297922314b992f /src/fsck
parentfdd25311706bd32580ec4d43211cdf4665d2f9de (diff)
fsck: include device name in the message about missing fsck
Diffstat (limited to 'src/fsck')
-rw-r--r--src/fsck/fsck.c6
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));
}
}