aboutsummaryrefslogtreecommitdiff
path: root/procps/renice.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-10-28 18:57:19 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-10-28 18:57:19 +0200
commite4dcba1c103dc28e927e004791e331aaf604383d (patch)
treea18094ecc54fcea2cb523a802e0c414c3e6f85bf /procps/renice.c
parent776509544123c68bbc128c0fdb2f699062d294cf (diff)
downloadbusybox-w32-e4dcba1c103dc28e927e004791e331aaf604383d.tar.gz
busybox-w32-e4dcba1c103dc28e927e004791e331aaf604383d.tar.bz2
busybox-w32-e4dcba1c103dc28e927e004791e331aaf604383d.zip
*: whitespace fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps/renice.c')
-rw-r--r--procps/renice.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/procps/renice.c b/procps/renice.c
index 0a73cbeeb..59194b5f4 100644
--- a/procps/renice.c
+++ b/procps/renice.c
@@ -32,7 +32,7 @@ int renice_main(int argc UNUSED_PARAM, char **argv)
32 static const char Xetpriority_msg[] ALIGN1 = "%cetpriority"; 32 static const char Xetpriority_msg[] ALIGN1 = "%cetpriority";
33 33
34 int retval = EXIT_SUCCESS; 34 int retval = EXIT_SUCCESS;
35 int which = PRIO_PROCESS; /* Default 'which' value. */ 35 int which = PRIO_PROCESS; /* Default 'which' value. */
36 int use_relative = 0; 36 int use_relative = 0;
37 int adjustment, new_priority; 37 int adjustment, new_priority;
38 unsigned who; 38 unsigned who;
@@ -57,7 +57,7 @@ int renice_main(int argc UNUSED_PARAM, char **argv)
57 arg += 2; 57 arg += 2;
58 } 58 }
59 59
60 if (!arg) { /* No args? Then show usage. */ 60 if (!arg) { /* No args? Then show usage. */
61 bb_show_usage(); 61 bb_show_usage();
62 } 62 }
63 63
@@ -100,7 +100,7 @@ int renice_main(int argc UNUSED_PARAM, char **argv)
100 if (use_relative) { 100 if (use_relative) {
101 int old_priority; 101 int old_priority;
102 102
103 errno = 0; /* Needed for getpriority error detection. */ 103 errno = 0; /* Needed for getpriority error detection. */
104 old_priority = getpriority(which, who); 104 old_priority = getpriority(which, who);
105 if (errno) { 105 if (errno) {
106 bb_perror_msg(Xetpriority_msg, 'g'); 106 bb_perror_msg(Xetpriority_msg, 'g');