btrfs-progs: fsck: understand the -s option

Short options have to be repeated at the getopt_long call.

Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
David Sterba 2012-07-17 12:41:13 +02:00
parent 17e6d421a9
commit 45e9ec733d
1 changed files with 1 additions and 1 deletions

View File

@ -3499,7 +3499,7 @@ int main(int ac, char **av)
while(1) { while(1) {
int c; int c;
c = getopt_long(ac, av, "", long_options, c = getopt_long(ac, av, "s:", long_options,
&option_index); &option_index);
if (c < 0) if (c < 0)
break; break;