ChangeLog, debugfs.c, dump.c, ls.c:
debugfs.c (main, do_open_filesys):
dump.c (do_dump): Make the variable which getopt returns into be
an int, so that it won't lose on platforms where char is
unsigned.
diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c
index 311aa1b..32dc601 100644
--- a/debugfs/debugfs.c
+++ b/debugfs/debugfs.c
@@ -74,7 +74,7 @@
void do_open_filesys(int argc, char **argv)
{
const char *usage = "Usage: open [-w] <device>";
- char c;
+ int c;
int open_flags = 0;
optind = 0;
@@ -1409,7 +1409,7 @@
int retval;
int sci_idx;
const char *usage = "Usage: debugfs [[-w] device]";
- char c;
+ int c;
int open_flags = 0;
char *request = 0;
int exit_status = 0;