summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2006-09-22 23:49:23 -0700
committerH. Peter Anvin <hpa@zytor.com>2006-09-22 23:49:23 -0700
commit61f99e76577f9704020e60bb0b963f6d48d943d2 (patch)
tree39fba75a739ea8afde409902b04709fdc0ba2d21
parent5302d69bdc35976c3e494dc482b4a28c74b9983b (diff)
downloadsyslinux-3.40-pre2.tar.gz
KernelType is a byte, not a word, oops...syslinux-3.40-pre2
-rw-r--r--ui.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.inc b/ui.inc
index ab395674..33d7e597 100644
--- a/ui.inc
+++ b/ui.inc
@@ -514,7 +514,7 @@ kernel_good:
; At this point, DX:AX contains the size of the kernel, SI contains
; the file handle/cluster pointer, and ECX contains the extension (if any.)
;
- mov di,[KernelType]
+ movzx di,byte [KernelType]
add di,di
jmp [kerneltype_table+di]