chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fdd2531
)
fsck: include device name in the message about missing fsck
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Tue, 27 May 2014 03:03:11 +0000
(23:03 -0400)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Fri, 30 May 2014 13:36:29 +0000
(09:36 -0400)
src/fsck/fsck.c
patch
|
blob
|
history
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) {
- 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));
}
}