summaryrefslogtreecommitdiffstats
path: root/fortune/fortune
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-08-27 01:42:08 +0000
committerdholland <dholland@NetBSD.org>2009-08-27 01:42:08 +0000
commit9a2a92263f6108c3ecc7f9c46cdbcc0d0aa82062 (patch)
treed516955687de57c1fdbc358b83ae3c27cf6e0299 /fortune/fortune
parent053f2cb3f40dbb587e71b330841d5f4dd6598877 (diff)
downloadbsdgames-darwin-9a2a92263f6108c3ecc7f9c46cdbcc0d0aa82062.tar.gz
bsdgames-darwin-9a2a92263f6108c3ecc7f9c46cdbcc0d0aa82062.tar.zst
bsdgames-darwin-9a2a92263f6108c3ecc7f9c46cdbcc0d0aa82062.zip
Prevent nasal demons in a case I spotted while preparing the previous.
Diffstat (limited to 'fortune/fortune')
-rw-r--r--fortune/fortune/fortune.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fortune/fortune/fortune.c b/fortune/fortune/fortune.c
index 28bd707e..5b81e831 100644
--- a/fortune/fortune/fortune.c
+++ b/fortune/fortune/fortune.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fortune.c,v 1.57 2009/08/27 01:40:27 dholland Exp $ */
+/* $NetBSD: fortune.c,v 1.58 2009/08/27 01:42:08 dholland Exp $ */
/*-
* Copyright (c) 1986, 1993
@@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1986, 1993\
#if 0
static char sccsid[] = "@(#)fortune.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: fortune.c,v 1.57 2009/08/27 01:40:27 dholland Exp $");
+__RCSID("$NetBSD: fortune.c,v 1.58 2009/08/27 01:42:08 dholland Exp $");
#endif
#endif /* not lint */
@@ -843,7 +843,7 @@ is_fortfile(const char *file, char **datp, char **posp, int check_for_offend)
}
#else
if (posp != NULL) {
- /* *posp = NULL; -- not quite yet */
+ *posp = NULL;
}
#endif /* OK_TO_WRITE_DISK */
DPRINTF(2, (stderr, "TRUE\n"));