summaryrefslogtreecommitdiff
path: root/debugfs/logdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'debugfs/logdump.c')
-rw-r--r--debugfs/logdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debugfs/logdump.c b/debugfs/logdump.c
index df11c162..1e195ba9 100644
--- a/debugfs/logdump.c
+++ b/debugfs/logdump.c
@@ -92,7 +92,7 @@ void do_logdump(int argc, char **argv)
struct journal_source journal_source;
struct ext2_super_block *es = NULL;
- optind = 0;
+ optind = 1;
#ifdef HAVE_OPTRESET
optreset = 1; /* Makes BSD getopt happy */
#endif