* [PATCH] btrfs-progs: fsck: understand the -s option
@ 2012-07-17 10:41 David Sterba
0 siblings, 0 replies; only message in thread
From: David Sterba @ 2012-07-17 10:41 UTC (permalink / raw)
To: linux-btrfs; +Cc: chris.mason, David Sterba
Short options have to be repeated at the getopt_long call.
Signed-off-by: David Sterba <dsterba@suse.cz>
---
btrfsck.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/btrfsck.c b/btrfsck.c
index 088b9f4..2e81adc 100644
--- a/btrfsck.c
+++ b/btrfsck.c
@@ -3499,7 +3499,7 @@ int main(int ac, char **av)
while(1) {
int c;
- c = getopt_long(ac, av, "", long_options,
+ c = getopt_long(ac, av, "s:", long_options,
&option_index);
if (c < 0)
break;
--
1.7.6.233.gd79bc
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-07-17 10:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-17 10:41 [PATCH] btrfs-progs: fsck: understand the -s option David Sterba
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).