From 7cfb1f6da76b45dd593127db1ce1c436dad8a55d Mon Sep 17 00:00:00 2001 From: tb Date: Thu, 26 Nov 2015 14:43:19 +0000 Subject: Fix copy-paste error in scorefile name From Ricardo Mestre --- games/tetris/scores.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'games/tetris') 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) { -- cgit v1.2.3