diff --git a/src/libCom/errPrintfUNIX.c b/src/libCom/errPrintfUNIX.c index 12b327dd4..504bb1756 100644 --- a/src/libCom/errPrintfUNIX.c +++ b/src/libCom/errPrintfUNIX.c @@ -77,7 +77,9 @@ void errPrintf(long status, const char *pFileName, printf("%s ",name); } } - vprintf(pformat,pvar); + if (pformat) { + vprintf(pformat,pvar); + } printf("\n"); }