aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorAndrey V. Elsukov <ae@FreeBSD.org>2012-08-06 08:54:06 +0000
committerAndrey V. Elsukov <ae@FreeBSD.org>2012-08-06 08:54:06 +0000
commita2bdef2a8454498126fd86fa42ca18f1f566c90c (patch)
tree10a3990d0a75b9c801f38c937476d3e83936dea7 /sys/boot
parent23f180dfb17a8767a1e259ca67c7b15e9d347571 (diff)
Notes
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/common/part.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/common/part.c b/sys/boot/common/part.c
index 34a08b167de1..661457381580 100644
--- a/sys/boot/common/part.c
+++ b/sys/boot/common/part.c
@@ -389,7 +389,7 @@ ptable_ebrread(struct ptable *table, void *dev, diskread_t dread)
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);