Module Name: src
Committed By: dholland
Date: Thu Aug 27 01:42:08 UTC 2009
Modified Files:
src/games/fortune/fortune: fortune.c
Log Message:
Prevent nasal demons in a case I spotted while preparing the previous.
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/games/fortune/fortune/fortune.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/games/fortune/fortune/fortune.c
diff -u src/games/fortune/fortune/fortune.c:1.57 src/games/fortune/fortune/fortune.c:1.58
--- src/games/fortune/fortune/fortune.c:1.57 Thu Aug 27 01:40:27 2009
+++ src/games/fortune/fortune/fortune.c Thu Aug 27 01:42:08 2009
@@ -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 @@
#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 @@
}
#else
if (posp != NULL) {
- /* *posp = NULL; -- not quite yet */
+ *posp = NULL;
}
#endif /* OK_TO_WRITE_DISK */
DPRINTF(2, (stderr, "TRUE\n"));