summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/sys/gpt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/gpt.h b/sys/sys/gpt.h
index f5b17e1..95a6cda 100644
--- a/sys/sys/gpt.h
+++ b/sys/sys/gpt.h
@@ -46,7 +46,8 @@ struct gpt_hdr {
uint32_t hdr_entries;
uint32_t hdr_entsz;
uint32_t hdr_crc_table;
-} __attribute__((packed));
+ char padding[]; /* XXX: struct not a multiple of 8. */
+};
struct gpt_ent {
struct uuid ent_type;
OpenPOWER on IntegriCloud