diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-02-08 23:40:36 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-02-08 23:40:36 +0000 |
commit | 7105f3a882af27b3a37d2e5b22e6555a061b7657 (patch) | |
tree | eb4becb775bdf83fd9b483cca8c46ea157be2ac2 /usr.bin/ul/ul.c | |
parent | 0c4a701fd12c657a080bb6eda7d167bb78f0e79e (diff) |
in getopt() blocks, stop incrementing flag variable which are supposed
to just be 0/1
ok miod florian
Diffstat (limited to 'usr.bin/ul/ul.c')
-rw-r--r-- | usr.bin/ul/ul.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ul/ul.c b/usr.bin/ul/ul.c index c7ade44e384..b313f85317b 100644 --- a/usr.bin/ul/ul.c +++ b/usr.bin/ul/ul.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ul.c,v 1.17 2015/02/06 09:19:16 tedu Exp $ */ +/* $OpenBSD: ul.c,v 1.18 2015/02/08 23:40:34 deraadt Exp $ */ /* $NetBSD: ul.c,v 1.3 1994/12/07 00:28:24 jtc Exp $ */ /* @@ -105,7 +105,7 @@ main(int argc, char *argv[]) switch (c) { case 't': case 'T': /* for nroff compatibility */ - termtype = optarg; + termtype = optarg; break; case 'i': iflag = 1; |