From: Lennart Poettering Date: Wed, 26 Jun 2024 09:21:26 +0000 (+0200) Subject: stub: don't make up errors X-Git-Tag: v257-rc1~1041^2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acf3e58eb3be9f73ea80667fbbe242814b94e0a4;p=thirdparty%2Fsystemd.git stub: don't make up errors --- diff --git a/src/boot/efi/stub.c b/src/boot/efi/stub.c index 363184ef10e..499a473d6b0 100644 --- a/src/boot/efi/stub.c +++ b/src/boot/efi/stub.c @@ -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; }