diff options
author | hpa <hpa> | 2004-12-22 13:40:56 +0000 |
---|---|---|
committer | hpa <hpa> | 2004-12-22 13:40:56 +0000 |
commit | 72d098b31e57e5ae81d9a4923608f12014c1d36f (patch) | |
tree | 1a53e8b9b7c51e3e11d601dfa905374013647f98 /runkernel.inc | |
parent | ea742162cc082fec3a3164d75fc5af67ceb7ef0a (diff) | |
download | syslinux-72d098b31e57e5ae81d9a4923608f12014c1d36f.tar.gz |
Detect null filenames correctly (problems in both pxelinux and extlinux)syslinux-3.00-pre2
Diffstat (limited to 'runkernel.inc')
-rw-r--r-- | runkernel.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runkernel.inc b/runkernel.inc index 148d083b..7a71350c 100644 --- a/runkernel.inc +++ b/runkernel.inc @@ -162,7 +162,7 @@ get_next_opt: lodsb push si ; mangle_dir mangles si call mangle_name ; Mangle ramdisk name pop si - cmp byte [es:InitRD],NULLFILE ; Null filename? + cmp byte [es:InitRD+NULLOFFSET],NULLFILE ; Null filename? seta byte [es:initrd_flag] ; Set flag if not not_initrd: pop es ; Restore ES -> real_mode_seg skip_this_opt: lodsb ; Load from command line |