]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
stub: don't make up errors
authorLennart Poettering <lennart@poettering.net>
Wed, 26 Jun 2024 09:21:26 +0000 (11:21 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 26 Jun 2024 15:09:45 +0000 (17:09 +0200)
src/boot/efi/stub.c

index 363184ef10e83c84d113228015276672b3ac65cf..499a473d6b04978e983ab1928407101b3c480318 100644 (file)
@@ -462,7 +462,7 @@ static EFI_STATUS load_addons(
 
                 /* We want to enforce that addons are not UKIs, i.e.: they must not embed a kernel. */
                 if (PE_SECTION_VECTOR_IS_SET(sections + UNIFIED_SECTION_LINUX)) {
-                        log_error_status(EFI_INVALID_PARAMETER, "%ls is a UKI, not an addon, ignoring: %m", items[i]);
+                        log_error("%ls is a UKI, not an addon, ignoring.", items[i]);
                         continue;
                 }