diff options
author | tb <tb@cvs.openbsd.org> | 2015-11-26 14:43:19 +0000 |
---|---|---|
committer | tb <tb@cvs.openbsd.org> | 2015-11-26 14:43:19 +0000 |
commit | 7cfb1f6da76b45dd593127db1ce1c436dad8a55d (patch) | |
tree | c5e81a9526ff75879778977243347d0500f23662 | |
parent | 62f4afdeee8375c7a003f8cb910cf649cde331e5 (diff) |
Fix copy-paste error in scorefile name
From Ricardo Mestre
-rw-r--r-- | games/tetris/scores.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/tetris/scores.c b/games/tetris/scores.c index 7639d2603af..2dc446f6d93 100644 --- a/games/tetris/scores.c +++ b/games/tetris/scores.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scores.c,v 1.14 2015/11/26 13:24:30 tb Exp $ */ +/* $OpenBSD: scores.c,v 1.15 2015/11/26 14:43:18 tb Exp $ */ /* $NetBSD: scores.c,v 1.2 1995/04/22 07:42:38 cgd Exp $ */ /*- @@ -116,7 +116,7 @@ getscores(FILE **fpp) ret = snprintf(scorepath, sizeof(scorepath), "%s/%s", home, ".tetris.scores"); if (ret < 0 || ret >= PATH_MAX) - errc(1, ENAMETOOLONG, "%s/%s", home, ".snake.scores"); + errc(1, ENAMETOOLONG, "%s/%s", home, ".tetris.scores"); sd = open(scorepath, mint, 0666); if (sd < 0) { |