mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
Use the proper condition to determine that we matched an filename.
Otherwise, we could match on a filename that had the wrong last character (such as /boot/loaded instead of /boot/loader). PR: kern/95625 Submitted by: Oliver Fromme <olli@secnetix.de> MFC after: 1 month
This commit is contained in:
parent
5089bd63bd
commit
70e040dfcf
1 changed files with 1 additions and 1 deletions
|
|
@ -400,7 +400,7 @@ ff.nextblock: subl $SECTOR_SIZE,rec_size # Adjust size
|
|||
ff.checkname: lea DIR_NAME(%bx),%di # Address name in record
|
||||
push %si # Save
|
||||
repe cmpsb # Compare name
|
||||
jcxz ff.match # We have a winner!
|
||||
je ff.match # We have a winner!
|
||||
pop %si # Restore
|
||||
jmp ff.nextrec # Keep looking.
|
||||
ff.match: add $2,%sp # Discard saved %si
|
||||
|
|
|
|||
Loading…
Reference in a new issue