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/edquota | |
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/edquota')
-rw-r--r-- | usr.sbin/edquota/edquota.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/edquota/edquota.c b/usr.sbin/edquota/edquota.c index 904569ecca1..fd14f3b9bd0 100644 --- a/usr.sbin/edquota/edquota.c +++ b/usr.sbin/edquota/edquota.c @@ -113,7 +113,7 @@ main(int argc, char *argv[]) switch(ch) { case 'p': protoname = optarg; - pflag++; + pflag = 1; break; case 'g': quotatype = GRPQUOTA; @@ -122,7 +122,7 @@ main(int argc, char *argv[]) quotatype = USRQUOTA; break; case 't': - tflag++; + tflag = 1; break; default: usage(); |