diff options
Diffstat (limited to 'util-linux/taskset.c')
-rw-r--r-- | util-linux/taskset.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/util-linux/taskset.c b/util-linux/taskset.c index 9957b1a71..401a1bcb7 100644 --- a/util-linux/taskset.c +++ b/util-linux/taskset.c | |||
@@ -22,7 +22,7 @@ | |||
22 | //config: affinity parameter 0xHHHHHHHHHHHHHHHHHHHH can be arbitrarily long | 22 | //config: affinity parameter 0xHHHHHHHHHHHHHHHHHHHH can be arbitrarily long |
23 | //config: in this case. Otherwise, it is limited to sizeof(long). | 23 | //config: in this case. Otherwise, it is limited to sizeof(long). |
24 | 24 | ||
25 | //applet:IF_TASKSET(APPLET(taskset, BB_DIR_USR_BIN, BB_SUID_DROP)) | 25 | //applet:IF_TASKSET(APPLET_NOEXEC(taskset, taskset, BB_DIR_USR_BIN, BB_SUID_DROP, taskset)) |
26 | //kbuild:lib-$(CONFIG_TASKSET) += taskset.o | 26 | //kbuild:lib-$(CONFIG_TASKSET) += taskset.o |
27 | 27 | ||
28 | //usage:#define taskset_trivial_usage | 28 | //usage:#define taskset_trivial_usage |
@@ -123,8 +123,7 @@ int taskset_main(int argc UNUSED_PARAM, char **argv) | |||
123 | * Indeed, util-linux-2.13-pre7 uses: | 123 | * Indeed, util-linux-2.13-pre7 uses: |
124 | * getopt_long(argc, argv, "+pchV", ...), not "...p:..." */ | 124 | * getopt_long(argc, argv, "+pchV", ...), not "...p:..." */ |
125 | 125 | ||
126 | opt_complementary = "-1"; /* at least 1 arg */ | 126 | opt_p = getopt32(argv, "^+" "p" "\0" "-1" /* at least 1 arg */); |
127 | opt_p = getopt32(argv, "+p"); | ||
128 | argv += optind; | 127 | argv += optind; |
129 | 128 | ||
130 | aff = *argv++; | 129 | aff = *argv++; |