aboutsummaryrefslogtreecommitdiff
path: root/procps/renice.c
diff options
context:
space:
mode:
authormjn3 <mjn3@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-03-19 09:13:01 +0000
committermjn3 <mjn3@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-03-19 09:13:01 +0000
commite901c15d890dbbdce4c086963cb1513653fc46b5 (patch)
treea318d0f03aa076c74b576ea45dc543a5669e8e91 /procps/renice.c
parent40758c00616c3b2c85d83eb4afdeb04b1f65c9f1 (diff)
downloadbusybox-w32-e901c15d890dbbdce4c086963cb1513653fc46b5.tar.gz
busybox-w32-e901c15d890dbbdce4c086963cb1513653fc46b5.tar.bz2
busybox-w32-e901c15d890dbbdce4c086963cb1513653fc46b5.zip
Major coreutils update.
git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'procps/renice.c')
-rw-r--r--procps/renice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/procps/renice.c b/procps/renice.c
index ec35bdcde..a81156eea 100644
--- a/procps/renice.c
+++ b/procps/renice.c
@@ -32,7 +32,7 @@ extern int renice_main(int argc, char **argv)
32{ 32{
33 int prio, status = EXIT_SUCCESS; 33 int prio, status = EXIT_SUCCESS;
34 34
35 if (argc < 3) show_usage(); 35 if (argc < 3) bb_show_usage();
36 36
37 prio = atoi(*++argv); 37 prio = atoi(*++argv);
38 if (prio > 20) prio = 20; 38 if (prio > 20) prio = 20;
@@ -45,7 +45,7 @@ extern int renice_main(int argc, char **argv)
45 if (setpriority(PRIO_PROCESS, ps, prio) == 0) { 45 if (setpriority(PRIO_PROCESS, ps, prio) == 0) {
46 printf("%d: old priority %d, new priority %d\n", ps, oldp, prio ); 46 printf("%d: old priority %d, new priority %d\n", ps, oldp, prio );
47 } else { 47 } else {
48 perror_msg("%d: setpriority", ps); 48 bb_perror_msg("%d: setpriority", ps);
49 status = EXIT_FAILURE; 49 status = EXIT_FAILURE;
50 } 50 }
51 } 51 }