From e9949d6ada56b9fc354f81eb94ef392e367a19e1 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 15 Nov 2003 22:14:35 +0000 Subject: fix format bug #33553 --- games-strategy/freecnc/files/0.2.1.31072003-gentoo-paths.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'games-strategy') diff --git a/games-strategy/freecnc/files/0.2.1.31072003-gentoo-paths.patch b/games-strategy/freecnc/files/0.2.1.31072003-gentoo-paths.patch index b134072c04d8..7b640b31f13e 100644 --- a/games-strategy/freecnc/files/0.2.1.31072003-gentoo-paths.patch +++ b/games-strategy/freecnc/files/0.2.1.31072003-gentoo-paths.patch @@ -35,7 +35,7 @@ - lf = new char[strlen(binpath)+strlen("audplay.log")+2]; - sprintf(lf, "%s/audplay.log", binpath); + lf = new char[strlen("GENTOO_LOGDIR")+strlen("audplay.log")+2]; -+ sprintf(lf, "GENTOO_LOGDIR/audplay.log", binpath); ++ sprintf(lf, "GENTOO_LOGDIR/audplay.log"); VFS_PreInit(binpath); logger = new Logger(lf,0); delete[] lf; -- cgit v1.2.3-65-gdbad