X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/b7164ab60bf28a93fc02bb65b784134fcbbc41c5..39a6b1e27fba043e9f988fa10f76ea68b796cbfd:/log.c diff --git a/log.c b/log.c index 9cd0572..d940df5 100644 --- a/log.c +++ b/log.c @@ -170,11 +170,11 @@ void cfgfile_postreadcheck(struct cloc loc, FILE *f) { assert(loc.file); if (ferror(f)) { - Message(M_FATAL, "error reading config file (%s): %s", + Message(M_FATAL, "error reading config file (%s): %s\n", loc.file, strerror(errno)); exit(current_phase); } else if (feof(f)) { - Message(M_FATAL, "unexpected end of config file (%s)", loc.file); + Message(M_FATAL, "unexpected end of config file (%s)\n", loc.file); exit(current_phase); } }