diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 2001-08-08 21:20:06 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 2001-08-08 21:20:06 +0000 |
commit | ed20138ada0d5f35b5b36a3b4f81c0e54e86f478 (patch) | |
tree | e0bf88ba5d789c3c80e21caefa3bfd8ab6351cb6 /games/rogue/score.c | |
parent | 12e85eee298cce876b06ef553c034508489cf39f (diff) |
FreeBSD PR 13278: killed by fire corrupts score file; from Mark W. Krentel
<krentel@dreamscape.com>
Diffstat (limited to 'games/rogue/score.c')
-rw-r--r-- | games/rogue/score.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/rogue/score.c b/games/rogue/score.c index 6f90dfa0087..cc91908d864 100644 --- a/games/rogue/score.c +++ b/games/rogue/score.c @@ -1,4 +1,4 @@ -/* $OpenBSD: score.c,v 1.4 1998/08/22 08:55:47 pjanzen Exp $ */ +/* $OpenBSD: score.c,v 1.5 2001/08/08 21:20:05 pjanzen Exp $ */ /* $NetBSD: score.c,v 1.5 1995/04/22 10:28:26 cgd Exp $ */ /* @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)score.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: score.c,v 1.4 1998/08/22 08:55:47 pjanzen Exp $"; +static char rcsid[] = "$OpenBSD: score.c,v 1.5 2001/08/08 21:20:05 pjanzen Exp $"; #endif #endif /* not lint */ @@ -367,7 +367,7 @@ insert_score(scores, n_names, n_name, rank, n, monster, other) (void) strcat(buf, "a total winner"); break; case KFIRE: - (void) strcpy(buf, "killed by fire"); + (void) strcat(buf, "killed by fire"); break; } } else { |