dont call vprintf if pformat is NULL
This commit is contained in:
1 parent
21cbea930a
commit
ca13bfdff9
1 file changed
+3
-1
@@ -77,7 +77,9 @@ void errPrintf(long status, const char *pFileName,
|
||||
printf("%s ",name);
|
||||
}
|
||||
}
|
||||
vprintf(pformat,pvar);
|
||||
if (pformat) {
|
||||
vprintf(pformat,pvar);
|
||||
}
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user