]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
boot: Use strtolower8/16
authorJan Janssen <medhefgo@web.de>
Thu, 26 May 2022 08:01:03 +0000 (10:01 +0200)
committerJan Janssen <medhefgo@web.de>
Tue, 31 May 2022 13:10:48 +0000 (15:10 +0200)
src/boot/efi/boot.c

index 68e3e7049cd38c5a5ea5bf37e9140385d371a71f..adac70d0f04c513f5c6a2ced9584d63d317e7232 100644 (file)
@@ -1548,7 +1548,7 @@ static void config_entry_add_type1(
 
         entry->device = device;
         entry->id = xstrdup(file);
-        StrLwr(entry->id);
+        strtolower16(entry->id);
 
         config_add_entry(config, entry);
 
@@ -2209,7 +2209,7 @@ static void config_entry_add_unified(
                         .tries_left = UINTN_MAX,
                 };
 
-                StrLwr(entry->id);
+                strtolower16(entry->id);
                 config_add_entry(config, entry);
                 config_entry_parse_tries(entry, L"\\EFI\\Linux", f->FileName, L".efi");