commit | 23246f39ed19b6951c48396e239c11cef073f142 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Sun Aug 14 19:16:51 2005 +0000 |
committer | Rob Landley <rob@landley.net> | Sun Aug 14 19:16:51 2005 +0000 |
tree | 9f708a881a3d5e9615dcf404f1617208e9c456ea | |
parent | 6e98521d68bdc931ddcbcd80ee299f823ed735f0 [diff] [blame] |
Patch from Stephane Billiart to improve ash error message.
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 @@ } 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);