aboutsummaryrefslogtreecommitdiff
path: root/miscutils/taskset.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/taskset.c')
-rw-r--r--miscutils/taskset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/taskset.c b/miscutils/taskset.c
index cd8ffc840..0c4bad7ed 100644
--- a/miscutils/taskset.c
+++ b/miscutils/taskset.c
@@ -50,7 +50,7 @@ int taskset_main(int argc, char** argv)
50 const char *state = "current\0new"; 50 const char *state = "current\0new";
51 char *p_opt = NULL, *aff = NULL; 51 char *p_opt = NULL, *aff = NULL;
52 52
53 opt = getopt32(argc, argv, "+p:", &p_opt); 53 opt = getopt32(argv, "+p:", &p_opt);
54 54
55 if (opt & OPT_p) { 55 if (opt & OPT_p) {
56 if (argc == optind+1) { /* -p <aff> <pid> */ 56 if (argc == optind+1) { /* -p <aff> <pid> */