Skip to content

Commit b46ec59

Browse files
committed
[BOOTSECT][FREELDR] Fix wrong comment of conditional jump on ext.S and extldr.S
1 parent 2e47094 commit b46ec59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

boot/freeldr/bootsect/ext.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ SearchFile:
608608
mov di, offset ExtLdrFileName // Load target filename address
609609
mov cx, offset ExtLdrFileNameEnd - ExtLdrFileName // Length of filename to compare
610610
cmp byte ptr ds:[si + EXT_DIRECTORY_ENTRY_NAME_LENGTH_OFFSET], cl // Compare if both names have the same length
611-
jnz .Skip // Skip this entry if yes
611+
jnz .Skip // Skip this entry if not
612612
add si, EXT_DIRECTORY_ENTRY_NAME_OFFSET // Move to filename in entry
613613
repe cmpsb // Compare filenames
614614
pop si // Restore SI

boot/freeldr/bootsect/extldr.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ ExtLdrEntryPoint:
5454
mov di, offset FreeLdrFileName // Load target filename address
5555
mov cx, offset FreeLdrFileNameEnd - FreeLdrFileName // Length of filename to compare
5656
cmp byte ptr ds:[si + EXT_DIRECTORY_ENTRY_NAME_LENGTH_OFFSET], cl // Compare if both names have the same length
57-
jnz .FSkip2 // Skip this entry if yes
57+
jnz .FSkip2 // Skip this entry if not
5858
add si, EXT_DIRECTORY_ENTRY_NAME_OFFSET // Move to filename in entry
5959
repe cmpsb // Compare filenames
6060
pop si // Restore SI

0 commit comments

Comments
 (0)