aboutsummaryrefslogtreecommitdiffstats
path: root/mbr/gptmbr.S
diff options
context:
space:
mode:
Diffstat (limited to 'mbr/gptmbr.S')
-rw-r--r--mbr/gptmbr.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbr/gptmbr.S b/mbr/gptmbr.S
index 77408b75..385afe74 100644
--- a/mbr/gptmbr.S
+++ b/mbr/gptmbr.S
@@ -257,7 +257,7 @@ read_sector_cbios:
read_common:
movb (%bp), %dl /* driveno */
int $0x13
- addw $16, %sp /* Drop DAPA */
+ leaw 16(%si), %sp /* Drop DAPA */
popal
jc disk_error
addb $2, %bh /* bx += 512: point to the next buffer */