errInit must be called before errPrintf

This commit is contained in:
Marty Kraimer
1995-03-07 21:17:16 +00:00
parent 3c8b4bf8c0
commit 9bdea89b06

View File

@@ -1389,6 +1389,7 @@ int dbLoad(char * pfilename)
long status;
FILE *fp;
errInit();
fp = fopen(pfilename,"r");
if(!fp) {
errMessage(-1,"dbLoad: Error opening file");