diff options
| author | Andrey V. Elsukov <ae@FreeBSD.org> | 2012-09-09 11:37:17 +0000 |
|---|---|---|
| committer | Andrey V. Elsukov <ae@FreeBSD.org> | 2012-09-09 11:37:17 +0000 |
| commit | 60dff4f9f8d7106084febb387f702457739132ca (patch) | |
| tree | b34cdc1f46d3d49349328a15456891263c5b259c | |
| parent | 9efbc4f52e3929e5755c4ef0a71320d8bcde50cb (diff) | |
Notes
| -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 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; } |
