Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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 d2ef9b98f..8b410f369 100644
--- a/util-linux/taskset.c
+++ b/util-linux/taskset.c
@@ -55,7 +55,6 @@
* Not yet implemented:
* -a/--all-tasks (affect all threads)
* needs to get TIDs from /proc/PID/task/ and use _them_ as "pid" in sched_setaffinity(pid)
- * -c/--cpu-list (specify CPUs via "1,3,5-7")
*/
#include <sched.h>
@@ -91,7 +90,7 @@ static char *from_mask(const ul *mask, unsigned sz_in_bytes)
}
#else
#define TASKSET_PRINTF_MASK "%lx"
-static unsigned long long from_mask(ul *mask, unsigned sz_in_bytes UNUSED_PARAM)
+static unsigned long from_mask(ul *mask, unsigned sz_in_bytes UNUSED_PARAM)
{
return *mask;
}