aboutsummaryrefslogtreecommitdiffstats
path: root/audio/juke/files/patch-ab
blob: 46bb6ec6ff3bcddb7c2058e1b911292911ab160e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- ../juke.orig/src/conf.c Thu Apr 15 21:44:53 1999
+++ ./src/conf.c    Sun May  2 12:18:07 1999
@@ -207,11 +207,11 @@
       return;
     }
   }
-  cfg->file_len = load_file ("/etc/juke.conf", (void **)&cfg->file);
+  cfg->file_len = load_file (CFG_RCFILE, (void **)&cfg->file);
   if (cfg->file_len != ERROR) {
     evaluate (cfg);
     if (! cfg->formats) {
-      fprintf (stderr, "error: No formats in /etc/juke.conf\n");
+      fprintf (stderr, "error: No formats in " CFG_RCFILE "\n");
       exit (ERROR);
     }
     build_arg_lists (cfg);