diff --git a/src/libCom/errPrintfVX.c b/src/libCom/errPrintfVX.c index 26ff89b57..f84d29664 100644 --- a/src/libCom/errPrintfVX.c +++ b/src/libCom/errPrintfVX.c @@ -257,6 +257,10 @@ LOCAL int vmprintf (const char *pFormat, va_list pvar) int s0; int s1; + if (!pFormat) { + return 0; + } + s0 = vfprintf(stdout,pFormat,pvar); fflush(stdout); s1 = vfprintf(iocLogFile,pFormat,pvar);