diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-02-07 02:09:15 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-02-07 02:09:15 +0000 |
commit | 5ede4fe071f859c623b30c6244fc142da5a3afdf (patch) | |
tree | 95ce658d52a059b28c34ae12116c96ac008bb5a2 /sbin/pflogd/pflogd.c | |
parent | b962fe7bfe37ebc32bdfabde38534a23f8feae26 (diff) |
When getopt processing flags, many should be flag=1 instead of flag++
ok tedu miod
Diffstat (limited to 'sbin/pflogd/pflogd.c')
-rw-r--r-- | sbin/pflogd/pflogd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pflogd/pflogd.c b/sbin/pflogd/pflogd.c index b3eb0b50dd5..be063121bcf 100644 --- a/sbin/pflogd/pflogd.c +++ b/sbin/pflogd/pflogd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pflogd.c,v 1.50 2014/11/20 15:22:39 tedu Exp $ */ +/* $OpenBSD: pflogd.c,v 1.51 2015/02/07 02:09:13 deraadt Exp $ */ /* * Copyright (c) 2001 Theo de Raadt @@ -605,7 +605,7 @@ main(int argc, char **argv) snaplen = PFLOGD_MAXSNAPLEN; break; case 'x': - Xflag++; + Xflag = 1; break; default: usage(); |