summaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
Diffstat (limited to 'procps')
-rw-r--r--procps/kill.c2
-rw-r--r--procps/mpstat.c2
-rw-r--r--procps/powertop.c4
-rw-r--r--procps/pstree.c2
-rw-r--r--procps/top.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/procps/kill.c b/procps/kill.c
index a30a79d..4a2eab6 100644
--- a/procps/kill.c
+++ b/procps/kill.c
@@ -268,7 +268,7 @@ int kill_main(int argc UNUSED_PARAM, char **argv)
#if ENABLE_KILL || ENABLE_KILLALL
/* Pid or name is required for kill/killall */
if (!arg) {
- bb_error_msg("you need to specify whom to kill");
+ bb_simple_error_msg("you need to specify whom to kill");
return EXIT_FAILURE;
}
diff --git a/procps/mpstat.c b/procps/mpstat.c
index 4ea1b5d..52a436a 100644
--- a/procps/mpstat.c
+++ b/procps/mpstat.c
@@ -931,7 +931,7 @@ int mpstat_main(int argc UNUSED_PARAM, char **argv)
/* Get CPU number */
unsigned n = xatoi_positive(t);
if (n >= G.cpu_nr)
- bb_error_msg_and_die("not that many processors");
+ bb_simple_error_msg_and_die("not that many processors");
n++;
G.cpu_bitmap[n >> 3] |= 1 << (n & 7);
}
diff --git a/procps/powertop.c b/procps/powertop.c
index e70f543..d508b5f 100644
--- a/procps/powertop.c
+++ b/procps/powertop.c
@@ -657,7 +657,7 @@ static void show_timerstats(void)
}
} else {
bb_putchar('\n');
- bb_error_msg("no stats available; run as root or"
+ bb_simple_error_msg("no stats available; run as root or"
" enable the timer_stats module");
}
}
@@ -707,7 +707,7 @@ int powertop_main(int argc UNUSED_PARAM, char UNUSED_PARAM **argv)
/* Print warning when we don't have superuser privileges */
if (geteuid() != 0)
- bb_error_msg("run as root to collect enough information");
+ bb_simple_error_msg("run as root to collect enough information");
/* Get number of CPUs */
G.total_cpus = get_cpu_count();
diff --git a/procps/pstree.c b/procps/pstree.c
index 1d124d2..67b7111 100644
--- a/procps/pstree.c
+++ b/procps/pstree.c
@@ -404,7 +404,7 @@ int pstree_main(int argc UNUSED_PARAM, char **argv)
else {
dump_by_user(find_proc(1), uid);
if (!G.dumped) {
- bb_error_msg_and_die("no processes found");
+ bb_simple_error_msg_and_die("no processes found");
}
}
diff --git a/procps/top.c b/procps/top.c
index 89f9d23..8fe5332 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -1229,7 +1229,7 @@ int top_main(int argc UNUSED_PARAM, char **argv)
#endif
} /* end of "while we read /proc" */
if (ntop == 0) {
- bb_error_msg("no process info in /proc");
+ bb_simple_error_msg("no process info in /proc");
break;
}