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

this out.
This commit is contained in:
Scott Long 2004-05-01 06:32:01 +00:00
parent 6021732ae8
commit f5a923258b

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"));