summaryrefslogtreecommitdiff
path: root/misc/util.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2010-06-07 12:42:40 -0400
committerTheodore Ts'o <tytso@mit.edu>2010-06-07 12:42:40 -0400
commit97d26ce9e3589e9f5fa17014467a9730a884d158 (patch)
tree1321a9170832aebc6c5017a70d6d73957cf31ba4 /misc/util.c
parentc561e751a17c85b898d74f8cc16daad5f29500a4 (diff)
parent296b9d696ab491f29d6d2083982e39b0ff3dab1f (diff)
downloade2fsprogs-97d26ce9e3589e9f5fa17014467a9730a884d158.tar.gz
Merge branch 'maint' into next
Conflicts: e2fsck/journal.c e2fsck/pass1.c e2fsck/pass2.c misc/mke2fs.c
Diffstat (limited to 'misc/util.c')
-rw-r--r--misc/util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/util.c b/misc/util.c
index b8a3cac9..51bdb60f 100644
--- a/misc/util.c
+++ b/misc/util.c
@@ -207,6 +207,10 @@ void parse_journal_opts(const char *opts)
if (strcmp(token, "device") == 0) {
journal_device = blkid_get_devname(NULL, arg, NULL);
if (!journal_device) {
+ if (arg)
+ fprintf(stderr, _("\nCould not find "
+ "journal device matching %s\n"),
+ arg);
journal_usage++;
continue;
}