aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
Diffstat (limited to 'procps')
-rw-r--r--procps/kill.c4
-rw-r--r--procps/renice.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/procps/kill.c b/procps/kill.c
index 4ed94b0ec..b51d44a70 100644
--- a/procps/kill.c
+++ b/procps/kill.c
@@ -153,7 +153,7 @@ int kill_main(int argc, char **argv)
153 arg = argv[i]; 153 arg = argv[i];
154 omit = bb_strtoi(arg, NULL, 10); 154 omit = bb_strtoi(arg, NULL, 10);
155 if (errno) { 155 if (errno) {
156 bb_error_msg("bad pid '%s'", arg); 156 bb_error_msg("invalid number '%s'", arg);
157 ret = 1; 157 ret = 1;
158 goto resume; 158 goto resume;
159 } 159 }
@@ -211,7 +211,7 @@ int kill_main(int argc, char **argv)
211 arg++; 211 arg++;
212 pid = bb_strtoi(arg, NULL, 10); 212 pid = bb_strtoi(arg, NULL, 10);
213 if (errno) { 213 if (errno) {
214 bb_error_msg("bad pid '%s'", arg); 214 bb_error_msg("invalid number '%s'", arg);
215 errors++; 215 errors++;
216 } else if (kill(pid, signo) != 0) { 216 } else if (kill(pid, signo) != 0) {
217 bb_perror_msg("can't kill pid %d", (int)pid); 217 bb_perror_msg("can't kill pid %d", (int)pid);
diff --git a/procps/renice.c b/procps/renice.c
index 81ee89cfb..0a73cbeeb 100644
--- a/procps/renice.c
+++ b/procps/renice.c
@@ -91,7 +91,7 @@ int renice_main(int argc UNUSED_PARAM, char **argv)
91 } else { 91 } else {
92 who = bb_strtou(arg, NULL, 10); 92 who = bb_strtou(arg, NULL, 10);
93 if (errno) { 93 if (errno) {
94 bb_error_msg("bad value: %s", arg); 94 bb_error_msg("invalid number '%s'", arg);
95 goto HAD_ERROR; 95 goto HAD_ERROR;
96 } 96 }
97 } 97 }