diff --git a/util/cpp/error.c b/util/cpp/error.c index 8bafd6b5f..4ef56a135 100644 --- a/util/cpp/error.c +++ b/util/cpp/error.c @@ -20,7 +20,10 @@ int err_occurred; err_hdr(s) char *s; { - fprint(ERROUT, "\"%s\", line %d: %s", FileName, LineNumber, s); + if (FileName) { + fprint(ERROUT, "\"%s\", line %d: %s", FileName, LineNumber, s); + } + else fprint(ERROUT, s); } /*VARARGS1*/