aboutsummaryrefslogtreecommitdiffstats
path: root/core/diskstart.inc
diff options
context:
space:
mode:
Diffstat (limited to 'core/diskstart.inc')
-rw-r--r--core/diskstart.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/diskstart.inc b/core/diskstart.inc
index 01248534..b2ef2b63 100644
--- a/core/diskstart.inc
+++ b/core/diskstart.inc
@@ -126,7 +126,7 @@ ldlinux_ent:
add edx,eax
loop .checksum
mov [CheckSum],edx ; Save intermediate result
- mov ebx,edi ; Start of the next sector
+ movzx ebx,si ; Start of the next sector
;
; Tell the user if we're using EBIOS or CBIOS