summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Garrett <mjg@redhat.com>2012-10-08 17:33:32 -0400
committerMatthew Garrett <mjg@redhat.com>2012-10-08 17:33:32 -0400
commitcb22de62e748b5e7ab6cd952c8cbc851085f32ae (patch)
tree96a1f677a772c4eecb2477ad7de4550820b65633
parent9201fa9ec69d391d6e1cc179f1e03d0832261351 (diff)
downloadefi-boot-shim-cb22de62e748b5e7ab6cd952c8cbc851085f32ae.tar.gz
efi-boot-shim-cb22de62e748b5e7ab6cd952c8cbc851085f32ae.zip
Add __attribute__ ((packed)) to MokListNode definition
Packing this lets us use MokListNode with the binary MokList representation.
-rw-r--r--MokManager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MokManager.c b/MokManager.c
index 4c736d16..491d4d6d 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)
{