summaryrefslogtreecommitdiff
path: root/sys/dev/ata/wd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ata/wd.c')
-rw-r--r--sys/dev/ata/wd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c
index 89375d47fd8..d4f140fde9c 100644
--- a/sys/dev/ata/wd.c
+++ b/sys/dev/ata/wd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wd.c,v 1.91 2010/09/01 01:38:12 dlg Exp $ */
+/* $OpenBSD: wd.c,v 1.92 2010/09/08 14:47:12 jsing Exp $ */
/* $NetBSD: wd.c,v 1.193 1999/02/28 17:15:27 explorer Exp $ */
/*
@@ -369,7 +369,7 @@ wdattach(struct device *parent, struct device *self, void *aux)
timeout_set(&wd->sc_restart_timeout, wdrestart, wd);
/* Attach disk. */
- disk_attach(&wd->sc_dk);
+ disk_attach(&wd->sc_dev, &wd->sc_dk);
wd->sc_wdc_bio.lp = wd->sc_dk.dk_label;
}