From 23246f39ed19b6951c48396e239c11cef073f142 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 14 Aug 2005 19:16:51 +0000 Subject: Patch from Stephane Billiart to improve ash error message. --- shell/ash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell/ash.c') diff --git a/shell/ash.c b/shell/ash.c index 9660890f9..5f859a1fb 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); -- cgit v1.2.3