summaryrefslogtreecommitdiff
path: root/audio/mserv/patches/patch-am
blob: 8f59fe8f40ed619a4b52b8072d0790d681179ded (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-am,v 1.1 2002/10/03 15:46:59 abs Exp $

--- mserv/opt.c.orig	Thu Jul 13 22:14:41 2000
+++ mserv/opt.c
@@ -164,8 +164,8 @@ int opt_read(const char *root)
   /* special case - player variable is an indirected to another variable */
   if ((val = conf_getvalue("player")) == NULL) {
     if (mserv_verbose)
-      printf("No player specified, defaulting to /usr/local/bin/mpg123\n");
-    opt_player = "/usr/local/bin/mpg123";
+      printf("No player specified, defaulting to " PATH_MPG123 "\n");
+    opt_player = PATH_MPG123;
   } else {
     if ((opt_player = conf_getvalue(val)) == NULL) {
       fprintf(stderr, "%s: player setting '%s' not found\n", progname,