aboutsummaryrefslogtreecommitdiffstats
path: root/storage_text.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage_text.c')
-rw-r--r--storage_text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage_text.c b/storage_text.c
index acc9eefe..3a11facf 100644
--- a/storage_text.c
+++ b/storage_text.c
@@ -30,7 +30,7 @@
static void text_init (void)
{
if( access( global.conf->configdir, F_OK ) != 0 )
- log_message( LOGLVL_WARNING, "The configuration directory %s does not exist. Configuration won't be saved.", CONFIG );
+ log_message( LOGLVL_WARNING, "The configuration directory %s does not exist. Configuration won't be saved.", global.conf->configdir );
else if( access( global.conf->configdir, R_OK ) != 0 || access( global.conf->configdir, W_OK ) != 0 )
log_message( LOGLVL_WARNING, "Permission problem: Can't read/write from/to %s.", global.conf->configdir );
}