[config.c] Fix error message for no correct config file

This commit is contained in:
Martin Duquesnoy 2008-09-29 21:05:01 +02:00
parent e156fef48d
commit bb89bba313

View File

@ -256,8 +256,9 @@ init_conf(void)
if(ret == CFG_FILE_ERROR || ret == CFG_PARSE_ERROR)
{
printf("WMFS: parsing configuration file (%s) failed\n Use the default configuration.\n", final_path);
sprintf(sfinal_path, "%s/wmfs/wmfsrc", XDG_CONFIG_DIR);
printf("WMFS: parsing configuration file (%s) failed\n"
"Use the default configuration (%s).\n", final_path, sfinal_path);
ret = cfg_parse(cfg, sfinal_path);
}