X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=secnet.git;a=blobdiff_plain;f=log.c;h=d940df530e914c2ffba4b0e6f3c5ad0ffd890668;hp=9cd0572bdebffe76f4c0522e839db4591026cb4f;hb=0a6cbadea08d824e26838a18bb75745c78f27461;hpb=b7164ab60bf28a93fc02bb65b784134fcbbc41c5 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); } }