summaryrefslogtreecommitdiff
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 a4d41ac..28be31a 100644
--- a/miscutils/taskset.c
+++ b/miscutils/taskset.c
@@ -62,7 +62,7 @@ int taskset_main(int argc, char** argv)
aff = *++argv; /* <aff> <cmd...> */
if (aff) {
unsigned i = 0;
- unsigned long l = xstrtol_range(aff, 16, 1, ULONG_MAX);
+ unsigned long l = xstrtol_range(aff, 0, 1, LONG_MAX);
CPU_ZERO(&new_mask);
while (i < CPU_SETSIZE && l >= (1<<i)) {