summaryrefslogtreecommitdiffstats
path: root/sys/boot/ia64/ski/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/ia64/ski/main.c')
-rw-r--r--sys/boot/ia64/ski/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/ia64/ski/main.c b/sys/boot/ia64/ski/main.c
index f27d166..604553c 100644
--- a/sys/boot/ia64/ski/main.c
+++ b/sys/boot/ia64/ski/main.c
@@ -89,7 +89,7 @@ ski_main(void)
/* XXX presumes that biosdisk is first in devsw */
currdev.d_dev = devsw[0];
currdev.d_type = currdev.d_dev->dv_type;
- currdev.d_kind.skidisk.unit = 0;
+ currdev.d_unit = 0;
/* XXX should be able to detect this, default to autoprobe */
currdev.d_kind.skidisk.slice = -1;
/* default to 'a' */
OpenPOWER on IntegriCloud