diff options
author | deraadt <deraadt@openbsd.org> | 2015-02-09 23:00:14 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 2015-02-09 23:00:14 +0000 |
commit | 28056f30107dcf32988d70b56824d14f4aced47b (patch) | |
tree | 7064fd5a12242164431f7b3e24733588e38baacb /usr.sbin/tokeninit | |
parent | remove support for floating or unsigned time_t. leave the incorrect comment (diff) | |
download | wireguard-openbsd-28056f30107dcf32988d70b56824d14f4aced47b.tar.xz wireguard-openbsd-28056f30107dcf32988d70b56824d14f4aced47b.zip |
clean up flags++ instances around getopt()
ok florian
Diffstat (limited to 'usr.sbin/tokeninit')
-rw-r--r-- | usr.sbin/tokeninit/tokeninit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/tokeninit/tokeninit.c b/usr.sbin/tokeninit/tokeninit.c index c3fd879502f..91c42b0a938 100644 --- a/usr.sbin/tokeninit/tokeninit.c +++ b/usr.sbin/tokeninit/tokeninit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tokeninit.c,v 1.8 2015/01/16 06:40:22 deraadt Exp $ */ +/* $OpenBSD: tokeninit.c,v 1.9 2015/02/09 23:00:14 deraadt Exp $ */ /*- * Copyright (c) 1995 Migration Associates Corp. All Rights Reserved @@ -97,7 +97,7 @@ main(int argc, char **argv) break; case 'h': - hexformat++; + hexformat = 1; break; case 'm': @@ -112,7 +112,7 @@ main(int argc, char **argv) break; case 'v': /* verbose */ - verbose++; + verbose = 1; break; default: fprintf(stderr, |