aboutsummaryrefslogtreecommitdiff
path: root/toys/uptime.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2012-08-16 22:24:30 -0500
committerRob Landley <rob@landley.net>2012-08-16 22:24:30 -0500
commit734206bd09aaba9c3175be557e4f35b095df1ccf (patch)
tree52c3bc4f64a8c63826df1c9daf7df5696ea6b8f0 /toys/uptime.c
parentc96444da80b7db3bd5d7c3e05e15f973840378c6 (diff)
downloadtoybox-734206bd09aaba9c3175be557e4f35b095df1ccf.tar.gz
Bugfix from Avery Pennarun: getpriority() uses a different range than nice(), so follow thenice man page and zero errno then check it if nice returns -1.
Diffstat (limited to 'toys/uptime.c')
0 files changed, 0 insertions, 0 deletions