diff options
author | otto <otto@openbsd.org> | 2004-04-23 06:00:50 +0000 |
---|---|---|
committer | otto <otto@openbsd.org> | 2004-04-23 06:00:50 +0000 |
commit | d4873cfc847d23fa803c411f20839511cac324d8 (patch) | |
tree | ca9c071ed26cf4c84011d51cb8c38c08e98f9368 /usr.sbin/tcpdump/privsep.c | |
parent | fix some comments and sync devices in ramdisk (diff) | |
download | wireguard-openbsd-d4873cfc847d23fa803c411f20839511cac324d8.tar.xz wireguard-openbsd-d4873cfc847d23fa803c411f20839511cac324d8.zip |
Silence getopt() in the priv process. ok canacar@ henning@
Diffstat (limited to 'usr.sbin/tcpdump/privsep.c')
-rw-r--r-- | usr.sbin/tcpdump/privsep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/tcpdump/privsep.c b/usr.sbin/tcpdump/privsep.c index af49ac517ce..66d9d891d90 100644 --- a/usr.sbin/tcpdump/privsep.c +++ b/usr.sbin/tcpdump/privsep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: privsep.c,v 1.7 2004/04/08 12:24:07 avsm Exp $ */ +/* $OpenBSD: privsep.c,v 1.8 2004/04/23 06:00:50 otto Exp $ */ /* * Copyright (c) 2003 Can Erkin Acar @@ -176,6 +176,7 @@ priv_init(int argc, char **argv) /* parse the arguments for required options so that the child * need not send them back */ + opterr = 0; while ((i = getopt(argc, argv, "ac:deE:fF:i:lnNOopqr:s:StT:vw:xXY")) != -1) { switch (i) { |