diff options
author | Denys Vlasenko | 2022-03-01 10:46:49 +0100 |
---|---|---|
committer | Denys Vlasenko | 2022-03-01 10:49:17 +0100 |
commit | 55f969a006109703dd056bee1b6c1d11b0602449 (patch) | |
tree | 366d40c6d71fdfc326ff32e606804dd73e2b1840 | |
parent | 5fe20cf3212fbada86fb75cf13064caed6a5f3a9 (diff) | |
download | busybox-55f969a006109703dd056bee1b6c1d11b0602449.zip busybox-55f969a006109703dd056bee1b6c1d11b0602449.tar.gz |
taskset: fix printf format mismatch in !FEATURE_TASKSET_FANCY config. closes 14616
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | util-linux/taskset.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/util-linux/taskset.c b/util-linux/taskset.c index d2ef9b9..8b410f3 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; } |