diff options
Diffstat (limited to 'procps/kill.c')
-rw-r--r-- | procps/kill.c | 4 |
1 files changed, 2 insertions, 2 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); |