commit | e935602ff5d5a45be56585b8bad44194c3e837a3 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Mon Jan 29 18:03:54 2007 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Mon Jan 29 18:03:54 2007 +0000 |
tree | d132adcb0f5e165f96cc85ac0baef036e38812b0 | |
parent | 86811803e304b63b71d3ddac91ad4e1cd741344f [diff] [blame] |
taskset: fix incorrect rage spec and allow 0xXXX input ping: shave off 60 bytes
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 @@ 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)) {