summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley2005-08-14 19:16:51 +0000
committerRob Landley2005-08-14 19:16:51 +0000
commit23246f39ed19b6951c48396e239c11cef073f142 (patch)
tree9f708a881a3d5e9615dcf404f1617208e9c456ea
parent6e98521d68bdc931ddcbcd80ee299f823ed735f0 (diff)
downloadbusybox-23246f39ed19b6951c48396e239c11cef073f142.zip
busybox-23246f39ed19b6951c48396e239c11cef073f142.tar.gz
Patch from Stephane Billiart to improve ash error message.
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 9660890..5f859a1 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -6606,7 +6606,7 @@ usage:
} else
pid = number(*argv);
if (kill(pid, signo) != 0) {
- sh_warnx("%m\n");
+ sh_warnx("kill %d: %s", pid, errmsg(errno, NULL));
i = 1;
}
} while (*++argv);