aboutsummaryrefslogtreecommitdiff
path: root/procps/mpstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/mpstat.c')
-rw-r--r--procps/mpstat.c2
1 files changed, 1 insertions, 1 deletions
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 }