Date: Thu, 28 Jun 2012 11:58:10 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r237705 - user/ae/bootcode/sys/boot/uboot/lib Message-ID: <201206281158.q5SBwACb074504@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ae Date: Thu Jun 28 11:58:10 2012 New Revision: 237705 URL: http://svn.freebsd.org/changeset/base/237705 Log: Fix copy/paste bug. Modified: user/ae/bootcode/sys/boot/uboot/lib/storage.c Modified: user/ae/bootcode/sys/boot/uboot/lib/storage.c ============================================================================== --- user/ae/bootcode/sys/boot/uboot/lib/storage.c Thu Jun 28 11:46:14 2012 (r237704) +++ user/ae/bootcode/sys/boot/uboot/lib/storage.c Thu Jun 28 11:58:10 2012 (r237705) @@ -114,13 +114,14 @@ stor_init(void) stor_info_no); return (-1); } - stor_info[stor_info_no++].handle = i; - stor_info[stor_info_no++].opened = 0; - stor_info[stor_info_no++].type = di->type; - stor_info[stor_info_no++].blocks = + stor_info[stor_info_no].handle = i; + stor_info[stor_info_no].opened = 0; + stor_info[stor_info_no].type = di->type; + stor_info[stor_info_no].blocks = di->di_stor.block_count; - stor_info[stor_info_no++].bsize = + stor_info[stor_info_no].bsize = di->di_stor.block_size; + stor_info_no++; } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206281158.q5SBwACb074504>