summaryrefslogtreecommitdiffstats
path: root/larn/io.c
diff options
context:
space:
mode:
authorblymn <blymn@NetBSD.org>2000-05-24 14:20:29 +0000
committerblymn <blymn@NetBSD.org>2000-05-24 14:20:29 +0000
commitbb24b1dc9374332814305b4ad58f2e69507ebbb7 (patch)
tree863648b0f23dae82e20cb2d77bcb42375b97a0bb /larn/io.c
parenta2987258cb8a1c5cfe9ab775230b1513a4df6471 (diff)
downloadbsdgames-darwin-bb24b1dc9374332814305b4ad58f2e69507ebbb7.tar.gz
bsdgames-darwin-bb24b1dc9374332814305b4ad58f2e69507ebbb7.tar.zst
bsdgames-darwin-bb24b1dc9374332814305b4ad58f2e69507ebbb7.zip
Fix coredump on start.
Diffstat (limited to 'larn/io.c')
-rw-r--r--larn/io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/larn/io.c b/larn/io.c
index 9f32da3f..73952da8 100644
--- a/larn/io.c
+++ b/larn/io.c
@@ -1,4 +1,4 @@
-/* $NetBSD: io.c,v 1.9 2000/05/22 12:42:46 blymn Exp $ */
+/* $NetBSD: io.c,v 1.10 2000/05/24 14:20:29 blymn Exp $ */
/*
* io.c Larn is copyrighted 1986 by Noah Morgan.
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: io.c,v 1.9 2000/05/22 12:42:46 blymn Exp $");
+__RCSID("$NetBSD: io.c,v 1.10 2000/05/24 14:20:29 blymn Exp $");
#endif /* not lint */
#include "header.h"
@@ -777,7 +777,7 @@ init_term()
char *capptr;
char *term;
- *cap = NULL;
+ cap = NULL;
switch (t_getent(&info, term = getenv("TERM"))) {
case -1:
write(2, "Cannot open termcap file.\n", 26);