Fix a bug in r298340: "sim" was referenced after being unset.
This commit is contained in:
parent
d3ffaee8e6
commit
ce59ff90af
@ -8902,7 +8902,7 @@ static int sym_cam_attach(hcb_p np)
|
||||
/*
|
||||
* Establish our async notification handler.
|
||||
*/
|
||||
if (xpt_register_async(AC_LOST_DEVICE, sym_async, sim, path) !=
|
||||
if (xpt_register_async(AC_LOST_DEVICE, sym_async, np->sim, path) !=
|
||||
CAM_REQ_CMP)
|
||||
goto fail;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user