aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbr/gptmbr.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbr/gptmbr.S b/mbr/gptmbr.S
index 9005183a..85b9fcdf 100644
--- a/mbr/gptmbr.S
+++ b/mbr/gptmbr.S
@@ -112,7 +112,7 @@ next:
/* Load partition table header */
xorl %eax,%eax
- xorl %edx,%edx
+ cltd
incw %ax /* %edx:%eax = 1 */
movw $phdr, %bx
pushw %bx /* -8(%bp) phdr == bootsect */