On 02.04.19 15:29, [ext] Andreas J. Reichel wrote:
From: Andreas Reichel <[email protected]>

The interface is defined in gnu-efi 3.0.4 whereas the protocol
is not.

This way it works with both 3.0.4 and the newer version.

Signed-off-by: Andreas Reichel <[email protected]>
---
  utils.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils.c b/utils.c
index d74cc7c..7079852 100644
--- a/utils.c
+++ b/utils.c
@@ -322,6 +322,6 @@ CHAR16 *GetBootMediumPath(CHAR16 *input)
VOID Color(EFI_SYSTEM_TABLE *system_table, char fgcolor, char bgcolor)
  {
-       EFI_SIMPLE_TEXT_OUT_PROTOCOL *con = system_table->ConOut;
+       SIMPLE_TEXT_OUTPUT_INTERFACE *con = system_table->ConOut;
        (VOID)uefi_call_wrapper(con->SetAttribute, 3, con, (bgcolor << 8) | 
fgcolor);
  }


Thanks, applied to next.

Jan

--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

--
You received this message because you are subscribed to the Google Groups "EFI Boot 
Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/086928eb-e46a-7108-4cd3-90f71fc300e5%40siemens.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to