summaryrefslogtreecommitdiff
path: root/audio/juke/files/patch-ab
blob: 5cb264a4d143265cc00dc28098b4f45148e53a7a (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.config\n");
+      fprintf (stderr, "error: No formats in " CFG_RCFILE "\n");
       exit (ERROR);
     }
     build_arg_lists (cfg);