mirror of https://github.com/vitalif/e2fsprogs
freefrag: fix up getopt case statement
There is no need to print out a "bad option" message; getopt does that for us, and in fact will change "c" to "?" so it's not even useful. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>bitmap-optimize
parent
6a1dfb3b62
commit
4ebbc0a310
|
@ -282,10 +282,8 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
chunk_info.chunkbytes *= 1024;
|
||||
break;
|
||||
default:
|
||||
fprintf(stderr, "%s: bad option '%c'\n",
|
||||
progname, c);
|
||||
case 'h':
|
||||
default:
|
||||
usage(progname);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue