aboutsummaryrefslogtreecommitdiffstats
path: root/audio/juke/files/patch-src_conf.c
blob: 629a3c5ccf75f3c589237e52851dba807a1da8cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- src/conf.c.orig 2000-03-06 20:43:13 UTC
+++ src/conf.c
@@ -207,11 +207,11 @@ void config_load (struct CONFIG *cfg)
       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);