From: Rob Landley Date: Sun, 14 Aug 2005 19:17:31 +0000 (-0000) Subject: Patch from Stephane Billiart to improve ash error message. X-Git-Tag: 1_01~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=830c040f6fbfff4f26156fd0d9aff38b66a31a41;p=oweals%2Fbusybox.git Patch from Stephane Billiart to improve ash error message. --- diff --git a/busybox/shell/ash.c b/busybox/shell/ash.c index f16edbc38..6ab540a69 100644 --- a/busybox/shell/ash.c +++ b/busybox/shell/ash.c @@ -6637,7 +6637,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);