svn commit: r240276 - head/sys/boot/uboot/common

Andrey V. Elsukov ae at FreeBSD.org
Sun Sep 9 11:37:18 UTC 2012


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


More information about the svn-src-all mailing list