summaryrefslogtreecommitdiff
path: root/games/boggle
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-04-11 09:17:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-04-11 09:17:56 +0000
commit50bd4cc79b777b8f85854880a68fc33de4306192 (patch)
tree88e1811380f790b3b21bcb00f0d51888e454adca /games/boggle
parent163354ee859f2bb6ef90b26a428bffb369892374 (diff)
even better; tobias@bugol.de
Diffstat (limited to 'games/boggle')
-rw-r--r--games/boggle/mkdict/mkdict.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/games/boggle/mkdict/mkdict.c b/games/boggle/mkdict/mkdict.c
index 313acecc0b9..58ab1ce36a6 100644
--- a/games/boggle/mkdict/mkdict.c
+++ b/games/boggle/mkdict/mkdict.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mkdict.c,v 1.9 2006/04/11 08:58:14 deraadt Exp $ */
+/* $OpenBSD: mkdict.c,v 1.10 2006/04/11 09:17:55 deraadt Exp $ */
/* $NetBSD: mkdict.c,v 1.2 1995/03/21 12:14:49 cgd Exp $ */
/*-
@@ -43,7 +43,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)mkdict.c 8.1 (Berkeley) 6/11/93";
#else
-static char rcsid[] = "$OpenBSD: mkdict.c,v 1.9 2006/04/11 08:58:14 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: mkdict.c,v 1.10 2006/04/11 09:17:55 deraadt Exp $";
#endif
#endif /* not lint */
@@ -80,8 +80,6 @@ main(int argc, char *argv[])
n = strtonum(argv[1], 1, INT_MAX, &errstr);
if (errstr)
errx(1, "%s: %s", argv[1], errstr);
- if (n == 0)
- errx(1, "%s: invalid value", argv[1]);
}
for (nwords = 1;