summaryrefslogtreecommitdiff
path: root/procps/renice.c
diff options
context:
space:
mode:
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 ec35bdc..a81156e 100644
--- a/procps/renice.c
+++ b/procps/renice.c
@@ -32,7 +32,7 @@ extern int renice_main(int argc, char **argv)
{
int prio, status = EXIT_SUCCESS;
- if (argc < 3) show_usage();
+ if (argc < 3) bb_show_usage();
prio = atoi(*++argv);
if (prio > 20) prio = 20;
@@ -45,7 +45,7 @@ extern int renice_main(int argc, char **argv)
if (setpriority(PRIO_PROCESS, ps, prio) == 0) {
printf("%d: old priority %d, new priority %d\n", ps, oldp, prio );
} else {
- perror_msg("%d: setpriority", ps);
+ bb_perror_msg("%d: setpriority", ps);
status = EXIT_FAILURE;
}
}