diff options
Diffstat (limited to 'procps')
-rw-r--r-- | procps/kill.c | 2 | ||||
-rw-r--r-- | procps/mpstat.c | 2 | ||||
-rw-r--r-- | procps/powertop.c | 4 | ||||
-rw-r--r-- | procps/pstree.c | 2 | ||||
-rw-r--r-- | procps/top.c | 2 |
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) #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 4ea1b5d97..52a436a55 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 e70f5433b..d508b5f78 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 1d124d2d2..67b711168 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 89f9d23f4..8fe53324f 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; } |