aboutsummaryrefslogtreecommitdiffstats
path: root/pxelinux.asm
diff options
context:
space:
mode:
authorhpa <hpa>2001-03-28 21:25:07 +0000
committerhpa <hpa>2001-03-28 21:25:07 +0000
commit19edf5c5bcf2e031f604c89e4d48b72b7bad4f37 (patch)
tree6398c12351f232337f2ed7a9a9bdf3b7c97e548d /pxelinux.asm
parent0f6347df2e9243ab294fcbfbf9b44f016ecfd2a6 (diff)
downloadsyslinux.git-19edf5c5bcf2e031f604c89e4d48b72b7bad4f37.tar.gz
syslinux.git-19edf5c5bcf2e031f604c89e4d48b72b7bad4f37.tar.xz
syslinux.git-19edf5c5bcf2e031f604c89e4d48b72b7bad4f37.zip
Get rid of the automatic appending of "auto".syslinux-1.54-pre3
Diffstat (limited to 'pxelinux.asm')
-rw-r--r--pxelinux.asm9
1 files changed, 3 insertions, 6 deletions
diff --git a/pxelinux.asm b/pxelinux.asm
index 6a937544..726af0bb 100644
--- a/pxelinux.asm
+++ b/pxelinux.asm
@@ -864,9 +864,8 @@ parse_config:
pc_default: mov di,default_cmd ; "default" command
call getline
- mov si,auto_cmd ; add "auto"+null
- mov cx,auto_len
- rep movsb
+ xor al,al
+ stosb ; null-terminate
jmp short parse_config
pc_append: cmp word [VKernelCtr],byte 0 ; "append" command
@@ -4335,10 +4334,8 @@ IPAppend db 0 ; Default IPAPPEND option
; Stuff for the command line; we do some trickery here with equ to avoid
; tons of zeros appended to our file and wasting space
;
-linuxauto_cmd db 'linux '
-auto_cmd db 'auto',0
+linuxauto_cmd db 'linux auto',0
linuxauto_len equ $-linuxauto_cmd
-auto_len equ $-auto_cmd
boot_image db 'BOOT_IMAGE='
boot_image_len equ $-boot_image
align 4, db 0 ; For the good of REP MOVSD