diff options
author | blymn <blymn@NetBSD.org> | 2000-05-24 14:20:29 +0000 |
---|---|---|
committer | blymn <blymn@NetBSD.org> | 2000-05-24 14:20:29 +0000 |
commit | bb24b1dc9374332814305b4ad58f2e69507ebbb7 (patch) | |
tree | 863648b0f23dae82e20cb2d77bcb42375b97a0bb /larn/io.c | |
parent | a2987258cb8a1c5cfe9ab775230b1513a4df6471 (diff) | |
download | bsdgames-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |