- Fix print filename of encompassing config file on read failure.

git-svn-id: file:///svn/unbound/trunk@3099 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2014-03-24 13:13:42 +00:00
parent 64ada805e2
commit 18feb613ae
2 changed files with 4 additions and 1 deletions

View File

@ -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.

View File

@ -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;
}