summaryrefslogtreecommitdiff
path: root/util-linux/taskset.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/taskset.c')
-rw-r--r--util-linux/taskset.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/util-linux/taskset.c b/util-linux/taskset.c
index 89dea17..401a1bc 100644
--- a/util-linux/taskset.c
+++ b/util-linux/taskset.c
@@ -123,8 +123,7 @@ int taskset_main(int argc UNUSED_PARAM, char **argv)
* Indeed, util-linux-2.13-pre7 uses:
* getopt_long(argc, argv, "+pchV", ...), not "...p:..." */
- opt_complementary = "-1"; /* at least 1 arg */
- opt_p = getopt32(argv, "+p");
+ opt_p = getopt32(argv, "^+" "p" "\0" "-1" /* at least 1 arg */);
argv += optind;
aff = *argv++;