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); _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"