aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbr/gptmbr.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/mbr/gptmbr.S b/mbr/gptmbr.S
index 8bc5e41d..8e8b952f 100644
--- a/mbr/gptmbr.S
+++ b/mbr/gptmbr.S
@@ -173,10 +173,12 @@ found_part:
stosl
movb $0xee,%al
stosl
- movl 40(%si),%eax
- movl 48(%si),%edx
+ movl 32(%si),%eax
+ movl 36(%si),%edx
call saturate_stosl /* Partition start */
+ movl 40(%si),%eax
+ movl 48(%si),%edx
subl 32(%si),%eax
sbbl 36(%si),%edx
call inc64