summaryrefslogtreecommitdiff
path: root/procps/kill.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/kill.c')
-rw-r--r--procps/kill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/procps/kill.c b/procps/kill.c
index 4ed94b0..b51d44a 100644
--- a/procps/kill.c
+++ b/procps/kill.c
@@ -153,7 +153,7 @@ int kill_main(int argc, char **argv)
arg = argv[i];
omit = bb_strtoi(arg, NULL, 10);
if (errno) {
- bb_error_msg("bad pid '%s'", arg);
+ bb_error_msg("invalid number '%s'", arg);
ret = 1;
goto resume;
}
@@ -211,7 +211,7 @@ int kill_main(int argc, char **argv)
arg++;
pid = bb_strtoi(arg, NULL, 10);
if (errno) {
- bb_error_msg("bad pid '%s'", arg);
+ bb_error_msg("invalid number '%s'", arg);
errors++;
} else if (kill(pid, signo) != 0) {
bb_perror_msg("can't kill pid %d", (int)pid);