aboutsummaryrefslogtreecommitdiff
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 a30a79dd8..4a2eab613 100644
--- a/procps/kill.c
+++ b/procps/kill.c
@@ -268,7 +268,7 @@ int kill_main(int argc UNUSED_PARAM, char **argv)
268#if ENABLE_KILL || ENABLE_KILLALL 268#if ENABLE_KILL || ENABLE_KILLALL
269 /* Pid or name is required for kill/killall */ 269 /* Pid or name is required for kill/killall */
270 if (!arg) { 270 if (!arg) {
271 bb_error_msg("you need to specify whom to kill"); 271 bb_simple_error_msg("you need to specify whom to kill");
272 return EXIT_FAILURE; 272 return EXIT_FAILURE;
273 } 273 }
274 274
diff --git a/procps/mpstat.c b/procps/mpstat.c
index 4ea1b5d97..52a436a55 100644
--- a/procps/mpstat.c
+++ b/procps/mpstat.c
@@ -931,7 +931,7 @@ int mpstat_main(int argc UNUSED_PARAM, char **argv)
931 /* Get CPU number */ 931 /* Get CPU number */
932 unsigned n = xatoi_positive(t); 932 unsigned n = xatoi_positive(t);
933 if (n >= G.cpu_nr) 933 if (n >= G.cpu_nr)
934 bb_error_msg_and_die("not that many processors"); 934 bb_simple_error_msg_and_die("not that many processors");
935 n++; 935 n++;
936 G.cpu_bitmap[n >> 3] |= 1 << (n & 7); 936 G.cpu_bitmap[n >> 3] |= 1 << (n & 7);
937 } 937 }
diff --git a/procps/powertop.c b/procps/powertop.c
index e70f5433b..d508b5f78 100644
--- a/procps/powertop.c
+++ b/procps/powertop.c
@@ -657,7 +657,7 @@ static void show_timerstats(void)
657 } 657 }
658 } else { 658 } else {
659 bb_putchar('\n'); 659 bb_putchar('\n');
660 bb_error_msg("no stats available; run as root or" 660 bb_simple_error_msg("no stats available; run as root or"
661 " enable the timer_stats module"); 661 " enable the timer_stats module");
662 } 662 }
663} 663}
@@ -707,7 +707,7 @@ int powertop_main(int argc UNUSED_PARAM, char UNUSED_PARAM **argv)
707 707
708 /* Print warning when we don't have superuser privileges */ 708 /* Print warning when we don't have superuser privileges */
709 if (geteuid() != 0) 709 if (geteuid() != 0)
710 bb_error_msg("run as root to collect enough information"); 710 bb_simple_error_msg("run as root to collect enough information");
711 711
712 /* Get number of CPUs */ 712 /* Get number of CPUs */
713 G.total_cpus = get_cpu_count(); 713 G.total_cpus = get_cpu_count();
diff --git a/procps/pstree.c b/procps/pstree.c
index 1d124d2d2..67b711168 100644
--- a/procps/pstree.c
+++ b/procps/pstree.c
@@ -404,7 +404,7 @@ int pstree_main(int argc UNUSED_PARAM, char **argv)
404 else { 404 else {
405 dump_by_user(find_proc(1), uid); 405 dump_by_user(find_proc(1), uid);
406 if (!G.dumped) { 406 if (!G.dumped) {
407 bb_error_msg_and_die("no processes found"); 407 bb_simple_error_msg_and_die("no processes found");
408 } 408 }
409 } 409 }
410 410
diff --git a/procps/top.c b/procps/top.c
index 89f9d23f4..8fe53324f 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -1229,7 +1229,7 @@ int top_main(int argc UNUSED_PARAM, char **argv)
1229#endif 1229#endif
1230 } /* end of "while we read /proc" */ 1230 } /* end of "while we read /proc" */
1231 if (ntop == 0) { 1231 if (ntop == 0) {
1232 bb_error_msg("no process info in /proc"); 1232 bb_simple_error_msg("no process info in /proc");
1233 break; 1233 break;
1234 } 1234 }
1235 1235