diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-04-11 08:58:15 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-04-11 08:58:15 +0000 |
commit | 163354ee859f2bb6ef90b26a428bffb369892374 (patch) | |
tree | f059668730a23606807b50bf6cb96da28574693b /games/boggle/mkdict | |
parent | f67e000659450bee5b2961e27a367d60c51d7f1b (diff) |
oops
Diffstat (limited to 'games/boggle/mkdict')
-rw-r--r-- | games/boggle/mkdict/mkdict.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/boggle/mkdict/mkdict.c b/games/boggle/mkdict/mkdict.c index 478d7dbf351..313acecc0b9 100644 --- a/games/boggle/mkdict/mkdict.c +++ b/games/boggle/mkdict/mkdict.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mkdict.c,v 1.8 2006/04/10 17:32:17 deraadt Exp $ */ +/* $OpenBSD: mkdict.c,v 1.9 2006/04/11 08:58:14 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.8 2006/04/10 17:32:17 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: mkdict.c,v 1.9 2006/04/11 08:58:14 deraadt Exp $"; #endif #endif /* not lint */ @@ -77,7 +77,7 @@ main(int argc, char *argv[]) current = 1; buf[prev][0] = '\0'; if (argc == 2) { - n = strtonum(argv[1], 1, INT_MAX, NULL); + n = strtonum(argv[1], 1, INT_MAX, &errstr); if (errstr) errx(1, "%s: %s", argv[1], errstr); if (n == 0) |