Update according to the change of struct uboot_devdesc.

This commit is contained in:
Andrey V. Elsukov 2012-09-09 11:37:17 +00:00
parent 9efbc4f52e
commit 60dff4f9f8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=240276

View File

@ -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;
}