diff options
author | Theodore Ts'o <tytso@mit.edu> | 1997-10-25 03:49:49 +0000 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 1997-10-25 03:49:49 +0000 |
commit | 519149fb458b0fa69c10fecd83fae42e838cf01d (patch) | |
tree | 44f4f64de2c414f5fd5c47103d899f67ce2d5e92 /e2fsck | |
parent | 622f5f272d2a25539f040e04166e1e21eca3adb5 (diff) | |
download | e2fsprogs-519149fb458b0fa69c10fecd83fae42e838cf01d.tar.gz |
Many files:
fsck.c:
chattr.c: Remove #include of getopt.h, since it's not needed.
tune2fs.c (main):
lsattr.c (main):
badblocks.c (main):
dumpe2fs.c (main):
mke2fs.c (PRS): Make the variable which getopt returns into be
an int, so that it won't lose on platforms where char is
unsigned.
ChangeLog, unix.c:
Make the variable which getopt returns into be an int, so that it
won't lose on platforms where char is unsigned.
Diffstat (limited to 'e2fsck')
-rw-r--r-- | e2fsck/ChangeLog | 4 | ||||
-rw-r--r-- | e2fsck/unix.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog index 847007af..260e9817 100644 --- a/e2fsck/ChangeLog +++ b/e2fsck/ChangeLog @@ -1,5 +1,9 @@ Fri Oct 24 00:12:39 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> + * unix.c (PRS): Make the variable which getopt returns into be + an int, so that it won't lose on platforms where char is + unsigned. + * pass1b.c (clone_file): Fix bug in error reporting in the case where cs.errcode is non-zero. diff --git a/e2fsck/unix.c b/e2fsck/unix.c index 11256708..9868e361 100644 --- a/e2fsck/unix.c +++ b/e2fsck/unix.c @@ -236,7 +236,7 @@ static void check_if_skip(e2fsck_t ctx) static errcode_t PRS(int argc, char *argv[], e2fsck_t *ret_ctx) { int flush = 0; - char c; + int c; #ifdef MTRACE extern void *mallwatch; #endif |