diff options
Diffstat (limited to 'procps/renice.c')
-rw-r--r-- | procps/renice.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/procps/renice.c b/procps/renice.c index 65674a4ee..08e0dc264 100644 --- a/procps/renice.c +++ b/procps/renice.c @@ -87,7 +87,8 @@ int renice_main(int argc, char **argv) } who = p->pw_uid; } else { - if (safe_strtou(arg, &who)) { + who = bb_strtou(arg, NULL, 10); + if (errno) { bb_error_msg("bad value: %s", arg); goto HAD_ERROR; } |