summaryrefslogtreecommitdiff
path: root/busybox
diff options
context:
space:
mode:
authorRob Landley2005-08-14 19:17:31 +0000
committerRob Landley2005-08-14 19:17:31 +0000
commit830c040f6fbfff4f26156fd0d9aff38b66a31a41 (patch)
tree52b8097087ef82f0f6a342e9c7bf573ae40e6cb2 /busybox
parent045dedad91253de03cfe4b68b763e5e94b913b81 (diff)
downloadbusybox-830c040f6fbfff4f26156fd0d9aff38b66a31a41.zip
busybox-830c040f6fbfff4f26156fd0d9aff38b66a31a41.tar.gz
Patch from Stephane Billiart to improve ash error message.
Diffstat (limited to 'busybox')
-rw-r--r--busybox/shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/busybox/shell/ash.c b/busybox/shell/ash.c
index f16edbc..6ab540a 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);