svn commit: r239088 - head/sys/boot/common
Andrey V. Elsukov
ae at FreeBSD.org
Mon Aug 6 08:54:07 UTC 2012
Author: ae
Date: Mon Aug 6 08:54:06 2012
New Revision: 239088
URL: http://svn.freebsd.org/changeset/base/239088
Log:
Fix start offset calculation for the EBR partitions.
Modified:
head/sys/boot/common/part.c
Modified: head/sys/boot/common/part.c
==============================================================================
--- head/sys/boot/common/part.c Mon Aug 6 08:39:29 2012 (r239087)
+++ head/sys/boot/common/part.c Mon Aug 6 08:54:06 2012 (r239088)
@@ -389,7 +389,7 @@ ptable_ebrread(struct ptable *table, voi
entry = malloc(sizeof(*entry));
if (entry == NULL)
break;
- entry->part.start = e1->part.start + start;
+ entry->part.start = offset + start;
entry->part.end = entry->part.start + end - 1;
entry->part.index = index++;
entry->part.type = mbr_parttype(dp[0].dp_typ);
More information about the svn-src-all
mailing list