diff options
author | ae <ae@FreeBSD.org> | 2012-09-09 11:37:17 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2012-09-09 11:37:17 +0000 |
commit | f7c40e7e088ed87315ede158ca57e06f72d9ea95 (patch) | |
tree | b34cdc1f46d3d49349328a15456891263c5b259c /sys | |
parent | 8e111ce458a0ae4a50211dca2ccf35dd121b345e (diff) | |
download | FreeBSD-src-f7c40e7e088ed87315ede158ca57e06f72d9ea95.zip FreeBSD-src-f7c40e7e088ed87315ede158ca57e06f72d9ea95.tar.gz |
Update according to the change of struct uboot_devdesc.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/boot/uboot/common/main.c | 2 |
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; } |