diff options
Diffstat (limited to 'procps/iostat.c')
-rw-r--r-- | procps/iostat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/procps/iostat.c b/procps/iostat.c index 608d41364..fbf685568 100644 --- a/procps/iostat.c +++ b/procps/iostat.c | |||
@@ -418,8 +418,7 @@ int iostat_main(int argc UNUSED_PARAM, char **argv) | |||
418 | 418 | ||
419 | /* Parse and process arguments */ | 419 | /* Parse and process arguments */ |
420 | /* -k and -m are mutually exclusive */ | 420 | /* -k and -m are mutually exclusive */ |
421 | opt_complementary = "k--m:m--k"; | 421 | opt = getopt32(argv, "^" "cdtzkm" "\0" "k--m:m--k"); |
422 | opt = getopt32(argv, "cdtzkm"); | ||
423 | if (!(opt & (OPT_c + OPT_d))) | 422 | if (!(opt & (OPT_c + OPT_d))) |
424 | /* Default is -cd */ | 423 | /* Default is -cd */ |
425 | opt |= OPT_c + OPT_d; | 424 | opt |= OPT_c + OPT_d; |