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 <[email protected]>
---
.../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 948ba57..36f53fd 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
--
1.9.1
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel