Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/usr.bin/pkill Pull up following revision(s) (requested by...
details: https://anonhg.NetBSD.org/src/rev/5d740388778d
branches: netbsd-3
changeset: 577361:5d740388778d
user: riz <riz%NetBSD.org@localhost>
date: Sat Oct 15 16:36:44 2005 +0000
description:
Pull up following revision(s) (requested by kleink in ticket #879):
usr.bin/pkill/pkill.c: revision 1.16
Exit with 2 on usage errors as documented. Noted by Christian Biere in
PR bin/21933.
diffstat:
usr.bin/pkill/pkill.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r dea4b6ce8066 -r 5d740388778d usr.bin/pkill/pkill.c
--- a/usr.bin/pkill/pkill.c Sat Oct 15 16:34:24 2005 +0000
+++ b/usr.bin/pkill/pkill.c Sat Oct 15 16:36:44 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pkill.c,v 1.9.2.6 2005/10/15 16:34:24 riz Exp $ */
+/* $NetBSD: pkill.c,v 1.9.2.7 2005/10/15 16:36:44 riz Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: pkill.c,v 1.9.2.6 2005/10/15 16:34:24 riz Exp $");
+__RCSID("$NetBSD: pkill.c,v 1.9.2.7 2005/10/15 16:36:44 riz Exp $");
#endif /* !lint */
#include <sys/types.h>
@@ -426,7 +426,7 @@
" [-t tty] [-u euid] pattern ...\n", getprogname(),
ustr);
- exit(STATUS_ERROR);
+ exit(STATUS_BADUSAGE);
}
static int
Home |
Main Index |
Thread Index |
Old Index