From 576a07e4fb497823e6e13c356dc9a3d9bc20edf0 Mon Sep 17 00:00:00 2001 From: "Leahy, Leroy P" Date: Mon, 23 May 2016 08:45:28 -0700 Subject: [PATCH] CorebootPayloadPkg/PlatformBootManagerLib: Fix Linux build Fix Linux build failure with GCC 4.8.4 due to missing braces. Change-Id: Ic0de6520605149f1bb74f8b60ce8cab8beda10a4 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy Reviewed-by: Maurice Ma --- .../Library/PlatformBootManagerLib/PlatformBootManager.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.h b/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.h index 948ba5796b..36f53fd366 100644 --- a/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.h +++ b/CorebootPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.h @@ -45,8 +45,7 @@ extern PLATFORM_CONSOLE_CONNECT_ENTRY gPlatformConsole[]; { \ END_DEVICE_PATH_TYPE,\ END_ENTIRE_DEVICE_PATH_SUBTYPE,\ - END_DEVICE_PATH_LENGTH,\ - 0\ + { END_DEVICE_PATH_LENGTH, 0 },\ } #define CONSOLE_OUT BIT0