aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhpa <hpa>2005-01-08 00:58:57 +0000
committerhpa <hpa>2005-01-08 00:58:57 +0000
commit7d7540905a08533cb81da7145d3f324f10558a4e (patch)
treebd120e604521f62ffa41afccf1f669b38d085779
parent3113533310816ae83447ac3b136ac514fad89cc1 (diff)
downloadsyslinux-elf-7d7540905a08533cb81da7145d3f324f10558a4e.tar.gz
syslinux-elf-7d7540905a08533cb81da7145d3f324f10558a4e.tar.xz
syslinux-elf-7d7540905a08533cb81da7145d3f324f10558a4e.zip
Fix bug in the handling of directories spanning multiple sectors
-rw-r--r--ldlinux.asm3
1 files changed, 1 insertions, 2 deletions
diff --git a/ldlinux.asm b/ldlinux.asm
index ceb079fe..77e3e982 100644
--- a/ldlinux.asm
+++ b/ldlinux.asm
@@ -990,10 +990,9 @@ searchdir:
push ds
pop es ; ES = DS
- mov edx,[RootDir] ; First root directory sector
+ mov eax,[RootDir] ; First root directory sector
.scansector:
- mov eax,edx
call getcachesector
; GS:SI now points to this sector