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 | |
| parent | 670204fe6b883397208758d1e8e0c3ada699379c (diff) | |
Fixed #181. (Using wrong (static) variable in error messages.)
| -rw-r--r-- | storage_text.c | 2 | ||||
| -rw-r--r-- | storage_xml.c | 2 | 
2 files changed, 2 insertions, 2 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 );  } 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 );  }  | 
