From 4f3a0ab428523b4f675bd7250f39410a5734374c Mon Sep 17 00:00:00 2001 From: Jason McIntyre Date: Thu, 16 Feb 2012 21:25:36 +0000 Subject: exit usage() with STATUS_BADUSAGE rather than STATUS_ERROR, per the man page; fix proposed by lum actually happened in netbsd -r1.16, some 6 years ago; ok lum --- usr.bin/pkill/pkill.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/pkill') diff --git a/usr.bin/pkill/pkill.c b/usr.bin/pkill/pkill.c index 2f742b57de9..2a3860fe3d9 100644 --- a/usr.bin/pkill/pkill.c +++ b/usr.bin/pkill/pkill.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pkill.c,v 1.22 2012/02/15 08:19:30 jmc Exp $ */ +/* $OpenBSD: pkill.c,v 1.23 2012/02/16 21:25:35 jmc Exp $ */ /* $NetBSD: pkill.c,v 1.5 2002/10/27 11:49:34 kleink Exp $ */ /*- @@ -446,7 +446,7 @@ usage(void) "\n\t[-T rtable] [-t tty] [-U uid] [-u euid] [pattern ...]\n", __progname, ustr); - exit(STATUS_ERROR); + exit(STATUS_BADUSAGE); } int -- cgit v1.2.3