From cb22de62e748b5e7ab6cd952c8cbc851085f32ae Mon Sep 17 00:00:00 2001 From: Matthew Garrett Date: Mon, 8 Oct 2012 17:33:32 -0400 Subject: [PATCH] Add __attribute__ ((packed)) to MokListNode definition Packing this lets us use MokListNode with the binary MokList representation. --- MokManager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MokManager.c b/MokManager.c index 4c736d1..491d4d6 100644 --- a/MokManager.c +++ b/MokManager.c @@ -18,7 +18,7 @@ struct menu_item { typedef struct { UINT32 MokSize; UINT8 *Mok; -} MokListNode; +} __attribute__ ((packed)) MokListNode; static EFI_INPUT_KEY get_keystroke (void) {