summaryrefslogtreecommitdiff
path: root/ldlinux.asm
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-16 07:56:54 +0000
committerhpa <hpa>2004-12-16 07:56:54 +0000
commitca558f22eba7c203341bb1faf5c9b44d869e33a3 (patch)
treed0a2786df2b2e7ca4d3ceec7d3f12500da3680d0 /ldlinux.asm
parentc25a2eb4f398ba0db4aa9f6b5bde8d9e00ca3504 (diff)
downloadsyslinux-ca558f22eba7c203341bb1faf5c9b44d869e33a3.tar.gz
Fix the sense of a couple of tests. We now get to the command line.
Diffstat (limited to 'ldlinux.asm')
-rw-r--r--ldlinux.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldlinux.asm b/ldlinux.asm
index 9b2f71eb..4ab09210 100644
--- a/ldlinux.asm
+++ b/ldlinux.asm
@@ -866,7 +866,7 @@ expand_super:
genfatinfo:
mov edx,[bxSectors]
and dx,dx
- jz .have_secs
+ jnz .have_secs
mov edx,[bsHugeSectors]
.have_secs:
mov [TotalSectors],edx
@@ -879,7 +879,7 @@ genfatinfo:
mov [FAT],eax ; Beginning of FAT
mov edx,[bxFATsecs]
and dx,dx
- jz .have_fatsecs
+ jnz .have_fatsecs
mov edx,[bootsec+36] ; FAT32 BPB_FATsz32
.have_fatsecs:
imul edx,[bxFATs]