]> err.no Git - util-linux/commit
renice: correctly detect errors in arguments
authorLaMont Jones <lamont@debian.org>
Mon, 7 Jan 2008 02:53:56 +0000 (19:53 -0700)
committerLaMont Jones <lamont@debian.org>
Mon, 7 Jan 2008 02:53:56 +0000 (19:53 -0700)
commit57d978dcf89cc0b587c4ddbd59df324daea2459d
treec37d5a0ab89b9ae264613f71d0a58fa8b97cc7c4
parent8da1378b40054469c367447f1952d6bffa9c1515
renice: correctly detect errors in arguments

renice was using atoi(), which does no error detection, meaning that:
"renice +20 blah" was accepted as valid.

Addresses-Debian-Bug: 385245
Signed-off-by: LaMont Jones <lamont@debian.org>
sys-utils/renice.c