Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Sep 2012 11:37:17 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r240276 - head/sys/boot/uboot/common
Message-ID:  <201209091137.q89BbHIb065701@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209091137.q89BbHIb065701>