dont call vprintf if pformat is NULL

This commit is contained in:
Jeff Hill
1995-08-12 01:03:17 +00:00
parent 21cbea930a
commit ca13bfdff9

View File

@@ -77,7 +77,9 @@ void errPrintf(long status, const char *pFileName,
printf("%s ",name);
}
}
vprintf(pformat,pvar);
if (pformat) {
vprintf(pformat,pvar);
}
printf("\n");
}