From ce5e7872f89c2167abb8e6b6b822c2a2db1b4a7b Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Thu, 3 Feb 2022 19:40:42 +0100 Subject: [PATCH] boot: Fix some error messages --- src/boot/efi/drivers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/boot/efi/drivers.c b/src/boot/efi/drivers.c index 55dd0eb33e0..376745f5298 100644 --- a/src/boot/efi/drivers.c +++ b/src/boot/efi/drivers.c @@ -36,11 +36,11 @@ static EFI_STATUS load_one_driver( err = BS->HandleProtocol(image, &LoadedImageProtocol, (void **)&loaded_image); if (EFI_ERROR(err)) - return log_error_status_stall(err, L"Failed to find protocol in driver image s: %r", fname, err); + return log_error_status_stall(err, L"Failed to find protocol in driver image %s: %r", fname, err); if (loaded_image->ImageCodeType != EfiBootServicesCode && loaded_image->ImageCodeType != EfiRuntimeServicesCode) - return log_error_status_stall(EFI_INVALID_PARAMETER, L"Image %s is not a driver, refusing: %r", fname); + return log_error_status_stall(EFI_INVALID_PARAMETER, L"Image %s is not a driver, refusing.", fname); err = BS->StartImage(image, NULL, NULL); if (EFI_ERROR(err)) { -- 2.47.3