summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));
}
}