summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
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 @@ 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);