summaryrefslogtreecommitdiff
path: root/sys/dev/hptiop
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2007-06-17 05:55:54 +0000
committerScott Long <scottl@FreeBSD.org>2007-06-17 05:55:54 +0000
commitb50569b71dfb110a58aa3e83f629115291802a74 (patch)
tree1f069a0af9a8c28e09089c8dc789bcd435a94cce /sys/dev/hptiop
parent6eb9bbf3299f31b6cbda15bb91fc20ed7c808e35 (diff)
Notes
Diffstat (limited to 'sys/dev/hptiop')
-rw-r--r--sys/dev/hptiop/hptiop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hptiop/hptiop.c b/sys/dev/hptiop/hptiop.c
index c9eddadc60b6..9f4a895a47d2 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;