summaryrefslogtreecommitdiff
path: root/usr.sbin/wsfontload
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-02-09 23:00:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-02-09 23:00:16 +0000
commit923e0b4768e0445e7d3273702a2440a31a01c237 (patch)
tree5c488f573adda708e5fce12132e88fc64979666b /usr.sbin/wsfontload
parentbbf09057d1d30d8cd2cce9517c417ef641d91e55 (diff)
clean up flags++ instances around getopt()
ok florian
Diffstat (limited to 'usr.sbin/wsfontload')
-rw-r--r--usr.sbin/wsfontload/wsfontload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/wsfontload/wsfontload.c b/usr.sbin/wsfontload/wsfontload.c
index e404c0aae0d..f4cda028aec 100644
--- a/usr.sbin/wsfontload/wsfontload.c
+++ b/usr.sbin/wsfontload/wsfontload.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsfontload.c,v 1.13 2013/10/20 16:09:25 miod Exp $ */
+/* $OpenBSD: wsfontload.c,v 1.14 2015/02/09 23:00:15 deraadt Exp $ */
/* $NetBSD: wsfontload.c,v 1.2 2000/01/05 18:46:43 ad Exp $ */
/*
@@ -116,7 +116,7 @@ main(int argc, char *argv[])
f.encoding = getencoding(optarg);
break;
case 'l':
- list++;
+ list = 1;
break;
case 'N':
strlcpy(f.name, optarg, WSFONT_NAME_SIZE);