chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fsck: include device name in the message about missing fsck
[elogind.git]
/
src
/
fsck
/
fsck.c
diff --git
a/src/fsck/fsck.c
b/src/fsck/fsck.c
index 594f21e070ee90846984e1b954bc13529e887f1a..56cb52dc99ecb585e714d37902d8e75fd7750fbd 100644
(file)
--- 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) {
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
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));
}
}
}
}