summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2015-10-14 15:32:43 +0200
committerChristian Pointner <equinox@spreadspace.org>2015-10-14 15:32:43 +0200
commita84e372d3f977f657378bb489f9ed5d88ea70334 (patch)
treec6dd78a239bc0ea3d5da2415d0c01bec3c245a0a /app
parentadded first version of an openwrt package (diff)
fixed etc dir
Diffstat (limited to 'app')
-rw-r--r--app/dolmetschctl.c2
-rw-r--r--app/mixer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/dolmetschctl.c b/app/dolmetschctl.c
index 3b20cb6..a4b91d1 100644
--- a/app/dolmetschctl.c
+++ b/app/dolmetschctl.c
@@ -58,7 +58,7 @@ void print_usage()
printf(" -h print this and exit\n");
printf(" -v print version information and exit\n");
printf(" -x <name> the name of the mixer, dolmetschctl will look for\n");
- printf(" language files inside '%s/<name>/'\n", ETCDIR);
+ printf(" language files inside '%s/dolmetschctl/<name>/'\n", ETCDIR);
printf(" -d <dev> the mixer MIDI device name to use, i.e. hw:2,0,0\n");
printf(" (use `amidi -l` to list all available devices)'\n");
printf(" -m <dev> the MIDI control device name to use, this can be omitted to\n");
diff --git a/app/mixer.c b/app/mixer.c
index 54df1b4..b95c031 100644
--- a/app/mixer.c
+++ b/app/mixer.c
@@ -90,7 +90,7 @@ static int mixer_read_config_file(mixer_t* x, int dirfd, const char* filename)
static int mixer_read_config(mixer_t* x)
{
char path[1024];
- int ret = snprintf(path, sizeof(path), "%s/%s", ETCDIR, x->name_);
+ int ret = snprintf(path, sizeof(path), "%s/dolmetschctl/%s", ETCDIR, x->name_);
assert(ret < sizeof(path));
DIR* d = opendir(path);