aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-09-06 12:48:15 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-09-06 12:48:15 +0000
commit4179e480e8315fcf98f1e76c5222413b9f993dc4 (patch)
treeebf1de609a0278c41797edf3707eb0fc13f2bfa2
parentdoc: foot.ini: max-shm-pool-size-mb: a value of 0 disables the feature (diff)
config: use correct config file path when logging errors and warnings
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 56e5af12..000538f8 100644
--- a/config.c
+++ b/config.c
@@ -1841,7 +1841,7 @@ config_load(struct config *conf, const char *conf_path, bool errors_are_fatal)
goto out;
}
- ret = parse_config_file(f, conf, conf_path, errors_are_fatal);
+ ret = parse_config_file(f, conf, conf_file.path, errors_are_fatal);
fclose(f);
conf->colors.selection_uses_custom_colors =