Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/pkill Add missing -u euid option to optstring; from ...



details:   https://anonhg.NetBSD.org/src/rev/97037c628380
branches:  trunk
changeset: 538718:97037c628380
user:      kleink <kleink%NetBSD.org@localhost>
date:      Sun Oct 27 11:49:34 2002 +0000

description:
Add missing -u euid option to optstring; from Michael van Elst in
PR bin/18827.

diffstat:

 usr.bin/pkill/pkill.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ece011d7f59c -r 97037c628380 usr.bin/pkill/pkill.c
--- a/usr.bin/pkill/pkill.c     Sun Oct 27 10:28:39 2002 +0000
+++ b/usr.bin/pkill/pkill.c     Sun Oct 27 11:49:34 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pkill.c,v 1.4 2002/03/06 12:02:18 ad Exp $     */
+/*     $NetBSD: pkill.c,v 1.5 2002/10/27 11:49:34 kleink Exp $ */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: pkill.c,v 1.4 2002/03/06 12:02:18 ad Exp $");
+__RCSID("$NetBSD: pkill.c,v 1.5 2002/10/27 11:49:34 kleink Exp $");
 #endif /* !lint */
 
 #include <sys/types.h>
@@ -156,7 +156,7 @@
 
        criteria = 0;
 
-       while ((ch = getopt(argc, argv, "G:P:U:d:fg:lns:t:vx")) != -1)
+       while ((ch = getopt(argc, argv, "G:P:U:d:fg:lns:t:u:vx")) != -1)
                switch (ch) {
                case 'G':
                        makelist(&rgidlist, LT_GROUP, optarg);



Home | Main Index | Thread Index | Old Index