]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
debugfs: Make the usage messsage of logdump consistent with man page
authorManish Katiyar <mkatiyar@gmail.com>
Wed, 1 Oct 2008 23:55:10 +0000 (19:55 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 1 Oct 2008 23:55:10 +0000 (19:55 -0400)
Signed-off-by: Manish Katiyar <mkatiyar@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
debugfs/logdump.c

index fed983805ccd8f4fbb232a6ad8d27e58ea90700d..73680debfe8d92b6a52e7dfda334be21f2c6a49c 100644 (file)
@@ -88,7 +88,7 @@ void do_logdump(int argc, char **argv)
        struct journal_source journal_source;
        struct ext2_super_block *es = NULL;
 
-       journal_source.where = 0;
+       journal_source.where = JOURNAL_IS_INTERNAL;
        journal_source.fd = 0;
        journal_source.file = 0;
        dump_all = 0;
@@ -264,7 +264,7 @@ errout:
        return;
 
 print_usage:
-       fprintf(stderr, "%s: Usage: logdump [-ac] [-b<block>] [-i<inode>]\n\t"
+       fprintf(stderr, "%s: Usage: logdump [-acs] [-b<block>] [-i<filespec>]\n\t"
                "[-f<journal_file>] [output_file]\n", argv[0]);
 }