diff options
author | Eric Andersen | 2004-03-15 08:29:22 +0000 |
---|---|---|
committer | Eric Andersen | 2004-03-15 08:29:22 +0000 |
commit | c7bda1ce659294d6e22c06e087f6f265983c7578 (patch) | |
tree | 4c6d2217f4d8306c59cf1096f8664e1cfd167213 /procps/renice.c | |
parent | 8854004b41065b3d081af7f3df13a100b0c8bfbe (diff) | |
download | busybox-c7bda1ce659294d6e22c06e087f6f265983c7578.zip busybox-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz |
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'procps/renice.c')
-rw-r--r-- | procps/renice.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/procps/renice.c b/procps/renice.c index a81156e..a6f0820 100644 --- a/procps/renice.c +++ b/procps/renice.c @@ -31,17 +31,17 @@ extern int renice_main(int argc, char **argv) { int prio, status = EXIT_SUCCESS; - + if (argc < 3) bb_show_usage(); - + prio = atoi(*++argv); if (prio > 20) prio = 20; if (prio < -20) prio = -20; - + while (*++argv) { int ps = atoi(*argv); int oldp = getpriority(PRIO_PROCESS, ps); - + if (setpriority(PRIO_PROCESS, ps, prio) == 0) { printf("%d: old priority %d, new priority %d\n", ps, oldp, prio ); } else { |