diff options
Diffstat (limited to 'sys/pci/ncr.c')
-rw-r--r-- | sys/pci/ncr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c index 2aea447..c344a1e 100644 --- a/sys/pci/ncr.c +++ b/sys/pci/ncr.c @@ -3784,7 +3784,7 @@ ncr_attach (device_t dev) } - if (xpt_bus_register(np->sim, 0) != CAM_SUCCESS) { + if (xpt_bus_register(np->sim, dev, 0) != CAM_SUCCESS) { cam_sim_free(np->sim, /*free_devq*/ TRUE); return ENOMEM; } |