From: Lennart Poettering Date: Thu, 4 Jul 2024 15:07:59 +0000 (+0200) Subject: boot: compare filename suffixes without case X-Git-Tag: v257-rc1~917^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=764faf60400bafb1764b728aafe0dcf4cbf07364;p=thirdparty%2Fsystemd.git boot: compare filename suffixes without case This is VFAT world after all. --- diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c index 6333cdade6f..fa2e5eb0842 100644 --- a/src/boot/efi/boot.c +++ b/src/boot/efi/boot.c @@ -1344,7 +1344,7 @@ static void boot_entry_parse_tries( return; /* Boot counter in the middle of the name? */ - if (!streq16(counter, suffix)) + if (!strcaseeq16(counter, suffix)) return; entry->tries_left = tries_left;