Skip to content

Commit 99cb634

Browse files
poetteringbluca
authored andcommitted
boot: compare filename suffixes without case
This is VFAT world after all. (cherry picked from commit 764faf6) (cherry picked from commit 18143ed) (cherry picked from commit 04cd06e) (cherry picked from commit 71da938) (cherry picked from commit 11db58b)
1 parent dd6f2bc commit 99cb634

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/boot/efi/boot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1349,7 +1349,7 @@ static void config_entry_parse_tries(
13491349
return;
13501350

13511351
/* Boot counter in the middle of the name? */
1352-
if (!streq16(counter, suffix))
1352+
if (!strcaseeq16(counter, suffix))
13531353
return;
13541354

13551355
entry->tries_left = tries_left;

0 commit comments

Comments
 (0)