From f232999d3281debaf4eca616c3e74a848b646956 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Sat, 12 Aug 1995 01:04:11 +0000 Subject: [PATCH] dont print if the format is NULL --- src/libCom/errPrintfVX.c | 4 ++++ 1 file changed, 4 insertions(+) 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);