diff options
Diffstat (limited to 'sys/dev/hptiop/hptiop.c')
-rw-r--r-- | sys/dev/hptiop/hptiop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hptiop/hptiop.c b/sys/dev/hptiop/hptiop.c index c9eddad..9f4a895 100644 --- a/sys/dev/hptiop/hptiop.c +++ b/sys/dev/hptiop/hptiop.c @@ -681,7 +681,7 @@ attach_failed: goto attach_failed; } - if (xpt_bus_register(hba->sim, 0) != CAM_SUCCESS) { + if (xpt_bus_register(hba->sim, dev, 0) != CAM_SUCCESS) { printf("hptiop: xpt_bus_register failed\n"); cam_sim_free(hba->sim, /*free devq*/ TRUE); hba->sim = NULL; |