diff options
author | dd <dd@FreeBSD.org> | 2002-05-20 07:17:22 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2002-05-20 07:17:22 +0000 |
commit | e5bc175e13a93c0f54a2855cef1600ea243503b2 (patch) | |
tree | 499a5b90d493c0a9567f9ab43d0c6d5ed10b360d /usr.bin/killall | |
parent | eb37d2e71efb834b8ed4fd1c41f68ac8ba773acd (diff) | |
download | FreeBSD-src-e5bc175e13a93c0f54a2855cef1600ea243503b2.zip FreeBSD-src-e5bc175e13a93c0f54a2855cef1600ea243503b2.tar.gz |
Mark a warning as such. Without this, it isn't obvious whether
killall stopped after failing to kill one process or whether it kept
going.
Diffstat (limited to 'usr.bin/killall')
-rw-r--r-- | usr.bin/killall/killall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/killall/killall.c b/usr.bin/killall/killall.c index e06d91e..c7d34f2 100644 --- a/usr.bin/killall/killall.c +++ b/usr.bin/killall/killall.c @@ -366,8 +366,8 @@ main(int ac, char **av) killed++; if (!dflag && !sflag) { if (kill(thispid, sig) < 0 /* && errno != ESRCH */ ) { - warn("kill -%s %d", upper(sys_signame[sig]), - thispid); + warn("warning: kill -%s %d", + upper(sys_signame[sig]), thispid); errors = 1; } } |