summaryrefslogtreecommitdiff
path: root/debugfs/dump.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2003-03-06 11:09:18 -0500
committerTheodore Ts'o <tytso@mit.edu>2003-03-06 11:09:18 -0500
commited78c021c3b111d8ab9a51aef5d5156e3004083f (patch)
tree8d9e92fb9a9bdb535ed06e67bc8981f63e56d67f /debugfs/dump.c
parent94ba8c750604d8d2487841a06cb930dd5f3bb43b (diff)
downloade2fsprogs-ed78c021c3b111d8ab9a51aef5d5156e3004083f.tar.gz
Fix up lots of portability problems that caused e2fsprogs not to build successfully
under Solaris.
Diffstat (limited to 'debugfs/dump.c')
-rw-r--r--debugfs/dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debugfs/dump.c b/debugfs/dump.c
index e9227f0f..303f7e18 100644
--- a/debugfs/dump.c
+++ b/debugfs/dump.c
@@ -149,7 +149,7 @@ void do_dump(int argc, char **argv)
const char *dump_usage = "Usage: dump_inode [-p] <file> <output_file>";
char *in_fn, *out_fn;
- optind = 0;
+ optind = 1;
#ifdef HAVE_OPTRESET
optreset = 1; /* Makes BSD getopt happy */
#endif