summaryrefslogtreecommitdiffstats
path: root/sys/boot/uboot/common
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2012-09-09 11:37:17 +0000
committerae <ae@FreeBSD.org>2012-09-09 11:37:17 +0000
commitf7c40e7e088ed87315ede158ca57e06f72d9ea95 (patch)
treeb34cdc1f46d3d49349328a15456891263c5b259c /sys/boot/uboot/common
parent8e111ce458a0ae4a50211dca2ccf35dd121b345e (diff)
downloadFreeBSD-src-f7c40e7e088ed87315ede158ca57e06f72d9ea95.zip
FreeBSD-src-f7c40e7e088ed87315ede158ca57e06f72d9ea95.tar.gz
Update according to the change of struct uboot_devdesc.
Diffstat (limited to 'sys/boot/uboot/common')
-rw-r--r--sys/boot/uboot/common/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/uboot/common/main.c b/sys/boot/uboot/common/main.c
index 7e961fd..82c86b2 100644
--- a/sys/boot/uboot/common/main.c
+++ b/sys/boot/uboot/common/main.c
@@ -185,7 +185,7 @@ main(void)
if (strncmp(devsw[i]->dv_name, "disk",
strlen(devsw[i]->dv_name)) == 0) {
f.f_devdata = &currdev;
- currdev.d_disk.pnum = 0;
+ currdev.d_disk.slice = 0;
if (devsw[i]->dv_open(&f,&currdev) == 0)
break;
}
OpenPOWER on IntegriCloud