conf: log the effective configuration file name

For better debugging aid when something goes wrong, log the name of
the effective configuration file.
This commit is contained in:
Max Kellermann 2009-02-19 08:35:22 +01:00
parent 0a0736fc4e
commit 11e680d640

View File

@ -296,6 +296,8 @@ void config_read_file(const char *file)
struct config_entry *entry;
struct config_param *param;
g_debug("loading file %s", file);
if (!(fp = fopen(file, "r"))) {
g_error("problems opening file %s for reading: %s\n",
file, strerror(errno));