Correctly test *Reply_Ptr in ASR_resetIOP(). Thanks to dhartmei for pointing

this out.
This commit is contained in:
scottl 2004-05-01 06:32:01 +00:00
parent 8e32b95bd1
commit 69ffa9292c

View File

@ -526,7 +526,7 @@ ASR_resetIOP(i2oRegs_t *virt, U8 *fvirt)
* Re-enable the interrupts.
*/
virt->Mask = Old;
KASSERT(*Reply_Ptr != NULL, ("Reply_Ptr == NULL"));
KASSERT(*Reply_Ptr != 0, ("*Reply_Ptr == 0"));
return(*Reply_Ptr);
}
KASSERT(Old != -1L, ("Old == -1"));