diff options
-rw-r--r-- | bin/date/date.c | 4 | ||||
-rw-r--r-- | sbin/disklabel/disklabel.c | 18 | ||||
-rw-r--r-- | sbin/fsck_ext2fs/main.c | 10 | ||||
-rw-r--r-- | sbin/fsck_ffs/main.c | 10 | ||||
-rw-r--r-- | sbin/fsirand/fsirand.c | 8 | ||||
-rw-r--r-- | sbin/isakmpd/isakmpd.c | 4 | ||||
-rw-r--r-- | sbin/ncheck_ffs/ncheck_ffs.c | 10 | ||||
-rw-r--r-- | sbin/pflogd/pflogd.c | 4 | ||||
-rw-r--r-- | sbin/quotacheck/quotacheck.c | 6 | ||||
-rw-r--r-- | sbin/tunefs/tunefs.c | 8 |
10 files changed, 41 insertions, 41 deletions
diff --git a/bin/date/date.c b/bin/date/date.c index fb36c9bf3bc..0975ab3ac79 100644 --- a/bin/date/date.c +++ b/bin/date/date.c @@ -1,4 +1,4 @@ -/* $OpenBSD: date.c,v 1.43 2014/01/21 09:09:15 otto Exp $ */ +/* $OpenBSD: date.c,v 1.44 2015/02/07 02:09:13 deraadt Exp $ */ /* $NetBSD: date.c,v 1.11 1995/09/07 06:21:05 jtc Exp $ */ /* @@ -74,7 +74,7 @@ main(int argc, char *argv[]) tz.tz_dsttime = atoi(optarg) ? 1 : 0; break; case 'a': - slidetime++; + slidetime = 1; break; case 'j': /* don't set */ jflag = 1; diff --git a/sbin/disklabel/disklabel.c b/sbin/disklabel/disklabel.c index 6cb97847bb6..68e36118a20 100644 --- a/sbin/disklabel/disklabel.c +++ b/sbin/disklabel/disklabel.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disklabel.c,v 1.198 2015/01/20 18:22:20 deraadt Exp $ */ +/* $OpenBSD: disklabel.c,v 1.199 2015/02/07 02:09:13 deraadt Exp $ */ /* * Copyright (c) 1987, 1993 @@ -126,11 +126,11 @@ main(int argc, char *argv[]) while ((ch = getopt(argc, argv, "ABEf:F:hRb:cdenp:tvw")) != -1) switch (ch) { case 'A': - ++aflag; + aflag = 1; break; #if NUMBOOT > 0 case 'B': - ++installboot; + installboot = 1; break; case 'b': xxboot = optarg; @@ -142,10 +142,10 @@ main(int argc, char *argv[]) op = RESTORE; break; case 'c': - ++cflag; + cflag = 1; break; case 'd': - ++dflag; + dflag = 1; break; case 'e': if (op != UNSPEC) @@ -163,13 +163,13 @@ main(int argc, char *argv[]) break; case 'F': fstabfile = optarg; - ++uidflag; + uidflag = 1; break; case 'h': print_unit = '*'; break; case 't': - ++tflag; + tflag = 1; break; case 'w': if (op != UNSPEC) @@ -185,10 +185,10 @@ main(int argc, char *argv[]) print_unit = tolower((unsigned char)optarg[0]); break; case 'n': - donothing++; + donothing = 1; break; case 'v': - verbose++; + verbose = 1; break; case '?': default: diff --git a/sbin/fsck_ext2fs/main.c b/sbin/fsck_ext2fs/main.c index 1db5abfe35e..a4c3e2baa20 100644 --- a/sbin/fsck_ext2fs/main.c +++ b/sbin/fsck_ext2fs/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.21 2015/01/16 06:39:57 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.22 2015/02/07 02:09:13 deraadt Exp $ */ /* $NetBSD: main.c,v 1.1 1997/06/11 11:21:50 bouyer Exp $ */ /* @@ -75,7 +75,7 @@ main(int argc, char *argv[]) break; case 'd': - debug++; + debug = 1; break; case 'f': @@ -90,16 +90,16 @@ main(int argc, char *argv[]) break; case 'n': - nflag++; + nflag = 1; yflag = 0; break; case 'p': - preen++; + preen = 1; break; case 'y': - yflag++; + yflag = 1; nflag = 0; break; diff --git a/sbin/fsck_ffs/main.c b/sbin/fsck_ffs/main.c index 60ba2e06736..63bd1feeea2 100644 --- a/sbin/fsck_ffs/main.c +++ b/sbin/fsck_ffs/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.43 2015/01/20 18:22:21 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.44 2015/02/07 02:09:13 deraadt Exp $ */ /* $NetBSD: main.c,v 1.22 1996/10/11 20:15:48 thorpej Exp $ */ /* @@ -64,7 +64,7 @@ main(int argc, char *argv[]) while ((ch = getopt(argc, argv, "dfpnNyYb:c:m:")) != -1) { switch (ch) { case 'p': - preen++; + preen = 1; break; case 'b': @@ -82,7 +82,7 @@ main(int argc, char *argv[]) break; case 'd': - debug++; + debug = 1; break; case 'f': @@ -98,13 +98,13 @@ main(int argc, char *argv[]) case 'n': case 'N': - nflag++; + nflag = 1; yflag = 0; break; case 'y': case 'Y': - yflag++; + yflag = 1; nflag = 0; break; diff --git a/sbin/fsirand/fsirand.c b/sbin/fsirand/fsirand.c index 12806b86c36..02f9f20fdaf 100644 --- a/sbin/fsirand/fsirand.c +++ b/sbin/fsirand/fsirand.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fsirand.c,v 1.32 2015/01/20 18:22:21 deraadt Exp $ */ +/* $OpenBSD: fsirand.c,v 1.33 2015/02/07 02:09:13 deraadt Exp $ */ /* * Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> @@ -56,13 +56,13 @@ main(int argc, char *argv[]) while ((n = getopt(argc, argv, "bfp")) != -1) { switch (n) { case 'b': - ignorelabel++; + ignorelabel = 1; break; case 'p': - printonly++; + printonly = 1; break; case 'f': - force++; + force = 1; break; default: usage(1); diff --git a/sbin/isakmpd/isakmpd.c b/sbin/isakmpd/isakmpd.c index 85ba3958603..a6669340362 100644 --- a/sbin/isakmpd/isakmpd.c +++ b/sbin/isakmpd/isakmpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isakmpd.c,v 1.101 2013/09/26 15:31:14 patrick Exp $ */ +/* $OpenBSD: isakmpd.c,v 1.102 2015/02/07 02:09:13 deraadt Exp $ */ /* $EOM: isakmpd.c,v 1.54 2000/10/05 09:28:22 niklas Exp $ */ /* @@ -137,7 +137,7 @@ parse_args(int argc, char *argv[]) break; case 'a': - acquire_only++; + acquire_only = 1; break; case 'c': diff --git a/sbin/ncheck_ffs/ncheck_ffs.c b/sbin/ncheck_ffs/ncheck_ffs.c index 36c5f07dc07..46b7d2cd2d8 100644 --- a/sbin/ncheck_ffs/ncheck_ffs.c +++ b/sbin/ncheck_ffs/ncheck_ffs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ncheck_ffs.c,v 1.49 2015/01/20 18:22:21 deraadt Exp $ */ +/* $OpenBSD: ncheck_ffs.c,v 1.50 2015/02/07 02:09:13 deraadt Exp $ */ /*- * Copyright (c) 1995, 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com> @@ -513,10 +513,10 @@ main(int argc, char *argv[]) while ((c = getopt(argc, argv, "af:i:ms")) != -1) switch (c) { case 'a': - aflag++; + aflag = 1; break; case 'i': - iflag++; + iflag = 1; errno = 0; ullval = strtoull(optarg, &ep, 10); @@ -546,10 +546,10 @@ main(int argc, char *argv[]) format = optarg; break; case 'm': - mflag++; + mflag = 1; break; case 's': - sflag++; + sflag = 1; break; default: usage(); 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(); diff --git a/sbin/quotacheck/quotacheck.c b/sbin/quotacheck/quotacheck.c index 2f8d4ee3aab..8b1966287fb 100644 --- a/sbin/quotacheck/quotacheck.c +++ b/sbin/quotacheck/quotacheck.c @@ -1,4 +1,4 @@ -/* $OpenBSD: quotacheck.c,v 1.36 2015/01/20 18:22:21 deraadt Exp $ */ +/* $OpenBSD: quotacheck.c,v 1.37 2015/02/07 02:09:14 deraadt Exp $ */ /* $NetBSD: quotacheck.c,v 1.12 1996/03/30 22:34:25 mark Exp $ */ /* @@ -148,13 +148,13 @@ main(int argc, char *argv[]) flags |= CHECK_DEBUG; break; case 'g': - gflag++; + gflag = 1; break; case 'l': maxrun = atoi(optarg); break; case 'u': - uflag++; + uflag = 1; break; case 'v': flags |= CHECK_VERBOSE; diff --git a/sbin/tunefs/tunefs.c b/sbin/tunefs/tunefs.c index 7da733a7b3e..cf96199e5f3 100644 --- a/sbin/tunefs/tunefs.c +++ b/sbin/tunefs/tunefs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tunefs.c,v 1.36 2015/01/20 18:22:21 deraadt Exp $ */ +/* $OpenBSD: tunefs.c,v 1.37 2015/02/07 02:09:14 deraadt Exp $ */ /* $NetBSD: tunefs.c,v 1.33 2005/01/19 20:46:16 xtraeme Exp $ */ /* @@ -94,15 +94,15 @@ main(int argc, char *argv[]) switch (ch) { case 'A': - Aflag++; + Aflag = 1; break; case 'F': - Fflag++; + Fflag = 1; break; case 'N': - Nflag++; + Nflag = 1; break; case 'e': |