summaryrefslogtreecommitdiffstats
path: root/usr.sbin/edquota
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/edquota')
-rw-r--r--usr.sbin/edquota/edquota.c4
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();