aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey V. Elsukov <ae@FreeBSD.org>2012-09-09 11:37:17 +0000
committerAndrey V. Elsukov <ae@FreeBSD.org>2012-09-09 11:37:17 +0000
commit60dff4f9f8d7106084febb387f702457739132ca (patch)
treeb34cdc1f46d3d49349328a15456891263c5b259c
parent9efbc4f52e3929e5755c4ef0a71320d8bcde50cb (diff)
Notes
-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 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;
}