projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libbb: reduce the overhead of single parameter bb_error_msg() calls
[oweals/busybox.git]
/
procps
/
mpstat.c
diff --git
a/procps/mpstat.c
b/procps/mpstat.c
index 4ea1b5d97249569cc20e1d87a8dc7cc784a96ff4..52a436a55f27f32f24c40cfb771913f3ded9a344 100644
(file)
--- 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);
}