diff options
author | Rob Landley <rob@landley.net> | 2012-08-16 22:24:30 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2012-08-16 22:24:30 -0500 |
commit | 734206bd09aaba9c3175be557e4f35b095df1ccf (patch) | |
tree | 52c3bc4f64a8c63826df1c9daf7df5696ea6b8f0 /toys/uptime.c | |
parent | c96444da80b7db3bd5d7c3e05e15f973840378c6 (diff) | |
download | toybox-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