aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/wds
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/wds
parent6eb9bbf3299f31b6cbda15bb91fc20ed7c808e35 (diff)
Notes
Diffstat (limited to 'sys/dev/wds')
-rw-r--r--sys/dev/wds/wd7000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/wds/wd7000.c b/sys/dev/wds/wd7000.c
index 05695c745016..bad36e162981 100644
--- a/sys/dev/wds/wd7000.c
+++ b/sys/dev/wds/wd7000.c
@@ -614,7 +614,7 @@ wds_attach(device_t dev)
}
wp->sim = sim;
- if (xpt_bus_register(sim, 0) != CAM_SUCCESS) {
+ if (xpt_bus_register(sim, dev, 0) != CAM_SUCCESS) {
cam_sim_free(sim, /* free_devq */ TRUE);
goto bad;
}