aboutsummaryrefslogtreecommitdiff
path: root/util-linux/chrt.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/chrt.c')
-rw-r--r--util-linux/chrt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/util-linux/chrt.c b/util-linux/chrt.c
index 52523df02..2712ea3e3 100644
--- a/util-linux/chrt.c
+++ b/util-linux/chrt.c
@@ -77,8 +77,7 @@ int chrt_main(int argc UNUSED_PARAM, char **argv)
int policy = SCHED_RR;
/* only one policy accepted */
- opt_complementary = "r--fo:f--ro:o--rf";
- opt = getopt32(argv, "+mprfo");
+ opt = getopt32(argv, "^+" "mprfo" "\0" "r--fo:f--ro:o--rf");
if (opt & OPT_m) { /* print min/max and exit */
show_min_max(SCHED_FIFO);
show_min_max(SCHED_RR);