aboutsummaryrefslogtreecommitdiffstats
path: root/src/pmbr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pmbr.c')
-rw-r--r--src/pmbr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pmbr.c b/src/pmbr.c
index b27b3b0..482e696 100644
--- a/src/pmbr.c
+++ b/src/pmbr.c
@@ -126,6 +126,7 @@ mbr_entry_from_gpt_entry (MBR_entry * m, GPT_header * h, GPT_entry * g,
if (type == MBR_PARTITION_TYPE_EFI)
{
+ m->size += m->start - 1;
m->start = 1;
}