From 60dff4f9f8d7106084febb387f702457739132ca Mon Sep 17 00:00:00 2001 From: "Andrey V. Elsukov" Date: Sun, 9 Sep 2012 11:37:17 +0000 Subject: Update according to the change of struct uboot_devdesc. --- sys/boot/uboot/common/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/boot/uboot/common/main.c b/sys/boot/uboot/common/main.c index 7e961fd39b95..82c86b2b5274 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; } -- cgit v1.3