]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
boot: compare filename suffixes without case
authorLennart Poettering <lennart@poettering.net>
Thu, 4 Jul 2024 15:07:59 +0000 (17:07 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 12 Jul 2024 04:29:45 +0000 (06:29 +0200)
This is VFAT world after all.

src/boot/efi/boot.c

index 6333cdade6f53dc36a06db595e4bcd551f6233dc..fa2e5eb0842fb149264c41f24ec8b522de685ce7 100644 (file)
@@ -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;