summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Garrett <mjg@redhat.com>2012-10-08 21:44:43 -0400
committerMatthew Garrett <mjg@redhat.com>2012-10-08 17:33:32 -0400
commitae46cf9d053aecfcf400d82c898616916886ee24 (patch)
tree96a1f677a772c4eecb2477ad7de4550820b65633
parent19423e7f2b696ac52c411eeac1010987608d5933 (diff)
downloadefi-boot-shim-ae46cf9d053aecfcf400d82c898616916886ee24.tar.gz
efi-boot-shim-ae46cf9d053aecfcf400d82c898616916886ee24.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)
{