openbsd-ports/emulators/spectemu/patches/patch-spmain_c
2002-02-18 22:41:18 +00:00

13 lines
412 B
Plaintext

$OpenBSD: patch-spmain_c,v 1.1.1.1 2002/02/18 22:41:18 naddy Exp $
--- spmain.c.orig Sat Feb 16 01:00:59 2002
+++ spmain.c Sat Feb 16 01:01:04 2002
@@ -161,7 +161,7 @@ void check_params(int argc, char *argv[]
#if MULTIUSER
char *homedir;
- strncpy(filenamebuf, DATADIR, MAXFILENAME-128);
+ strncpy(filenamebuf, CONFDIR, MAXFILENAME-128);
strcat(filenamebuf, "/");
strcat(filenamebuf, GLOBALCFG);