Fix short jump out of range
authorhpa <hpa>
Sat, 4 Aug 2001 06:12:54 +0000 (06:12 +0000)
committerhpa <hpa>
Sat, 4 Aug 2001 06:12:54 +0000 (06:12 +0000)
isolinux.asm

index 7fa64c6..2830ecb 100644 (file)
@@ -583,14 +583,14 @@ spec_query_failed:
                mov si,alright_msg
                call writemsg
                mov [DriveNo],dl
-               jmp found_drive
+.found_drive:  jmp found_drive
 
                ; Award BIOS 4.51 apparently passes garbage in sp_drive,
                ; but if this was the drive number originally passed in
                ; DL then consider it "good enough"
 .maybe_broken:
                cmp byte [DriveNo],dl
-               je found_drive
+               je .found_drive
 
 .still_broken: dec dx
                cmp dl, 80h