modifying the condition from (status!=0) to (status>0) to skip the block in case the status variable ==-1

This commit is contained in:
seifalrahman
2024-02-26 21:58:23 +02:00
committed by mdavidsaver
parent 6ca716a77f
commit 4c20518864

View File

@@ -62,7 +62,7 @@ void recGblRecordError(long status, void *pdbc,
dbCommon *precord = pdbc;
char errMsg[256] = "";
if (status)
if ( status>0 )
errSymLookup(status, errMsg, sizeof(errMsg));
errlogPrintf("recGblRecordError: %s %s PV: %s\n",