summaryrefslogtreecommitdiffhomepage
path: root/shell
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2005-08-14 19:16:51 +0000
committerRob Landley <rob@landley.net>2005-08-14 19:16:51 +0000
commit23246f39ed19b6951c48396e239c11cef073f142 (patch)
tree9f708a881a3d5e9615dcf404f1617208e9c456ea /shell
parent6e98521d68bdc931ddcbcd80ee299f823ed735f0 (diff)
Patch from Stephane Billiart to improve ash error message.
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
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);