aboutsummaryrefslogtreecommitdiff
path: root/net/yaph/files/patch-yaph::init.c
blob: 235005979babeea93359f803e2b6922ba9f59b4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- yaph/init.c.orig	Sat Jun 14 14:52:31 2003
+++ yaph/init.c	Sat Jun 14 14:52:41 2003
@@ -127,7 +127,7 @@
 FILE *cnf=NULL;
 char buff[1024];
 	if(!(cnf=fopen("./yaph.conf","rb")))
-		if(!(cnf=fopen("/etc/yaph.conf","rb")))
+		if(!(cnf=fopen(PREFIX "/etc/yaph.conf","rb")))
 			goto no_file;
 	while(fgets(buff,sizeof(buff),cnf))
 	{