From 2e2a41933ef0b028f4b93e00cc12996ebf10cd7d Mon Sep 17 00:00:00 2001 From: vit9696 Date: Sun, 7 Apr 2019 11:03:16 +0300 Subject: [PATCH] OpenCoreUefi: Fix printing UEFI drivers --- Platform/OpenCore/OpenCoreUefi.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Platform/OpenCore/OpenCoreUefi.c b/Platform/OpenCore/OpenCoreUefi.c index 0a68ec89..29013f15 100644 --- a/Platform/OpenCore/OpenCoreUefi.c +++ b/Platform/OpenCore/OpenCoreUefi.c @@ -42,8 +42,8 @@ LoadDrivers ( DEBUG (( DEBUG_INFO, "OC: Driver %a at %u is being loaded...\n", - Index, - OC_BLOB_GET (Config->Uefi.Drivers.Values[Index]) + OC_BLOB_GET (Config->Uefi.Drivers.Values[Index]), + Index )); UnicodeSPrint ( @@ -58,8 +58,8 @@ LoadDrivers ( DEBUG (( DEBUG_ERROR, "OC: Driver %a at %u cannot be found!\n", - Index, - OC_BLOB_GET (Config->Uefi.Drivers.Values[Index]) + OC_BLOB_GET (Config->Uefi.Drivers.Values[Index]), + Index )); // // TODO: This should cause security violation if configured! @@ -83,8 +83,8 @@ LoadDrivers ( DEBUG (( DEBUG_ERROR, "OC: Driver %a at %u cannot be loaded - %r!\n", - Index, OC_BLOB_GET (Config->Uefi.Drivers.Values[Index]), + Index, Status )); FreePool (Driver); @@ -101,8 +101,8 @@ LoadDrivers ( DEBUG (( DEBUG_ERROR, "OC: Driver %a at %u cannot be started - %r!\n", - Index, OC_BLOB_GET (Config->Uefi.Drivers.Values[Index]), + Index, Status )); gBS->UnloadImage (ImageHandle);