From 764faf60400bafb1764b728aafe0dcf4cbf07364 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 4 Jul 2024 17:07:59 +0200 Subject: [PATCH] boot: compare filename suffixes without case This is VFAT world after all. --- src/boot/efi/boot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c index 6333cdade6..fa2e5eb084 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; -- 2.25.1