diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-10-22 15:53:55 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-10-22 15:53:55 +0200 |
commit | 28eda862ffd1f59ac3cd214295c366ab939afd46 (patch) | |
tree | e4c1caf431b2254498d58ea8d828ba084ef7cf27 /storage_xml.c | |
parent | 670204fe6b883397208758d1e8e0c3ada699379c (diff) |
Fixed #181. (Using wrong (static) variable in error messages.)
Diffstat (limited to 'storage_xml.c')
-rw-r--r-- | storage_xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage_xml.c b/storage_xml.c index 52240a36..ba311120 100644 --- a/storage_xml.c +++ b/storage_xml.c @@ -262,7 +262,7 @@ GMarkupParser xml_parser = static void xml_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 ); } |