Commit 11e680d6 authored by Max Kellermann's avatar Max Kellermann

conf: log the effective configuration file name

For better debugging aid when something goes wrong, log the name of the effective configuration file.
parent 0a0736fc
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment