Author: ae
Date: Sun Sep  9 11:37:17 2012
New Revision: 240276
URL: http://svn.freebsd.org/changeset/base/240276

Log:
  Update according to the change of struct uboot_devdesc.

Modified:
  head/sys/boot/uboot/common/main.c

Modified: head/sys/boot/uboot/common/main.c
==============================================================================
--- head/sys/boot/uboot/common/main.c   Sun Sep  9 11:34:27 2012        
(r240275)
+++ head/sys/boot/uboot/common/main.c   Sun Sep  9 11:37:17 2012        
(r240276)
@@ -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;
                }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to