diff --git a/doc/Changelog b/doc/Changelog index 09909dea5..c1371ecfd 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +24 March 2014: Wouter + - Fix print filename of encompassing config file on read failure. + 12 March 2014: Wouter - tag 1.4.22 - trunk has 1.4.23 in development. diff --git a/util/config_file.c b/util/config_file.c index 72f71199d..baa9fccf4 100644 --- a/util/config_file.c +++ b/util/config_file.c @@ -800,7 +800,7 @@ config_read(struct config_file* cfg, const char* filename, const char* chroot) if(cfg_parser->errors != 0) { fprintf(stderr, "read %s failed: %d errors in configuration file\n", - cfg_parser->filename, cfg_parser->errors); + fname, cfg_parser->errors); errno=EINVAL; return 0; }