summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/geom/geom_gpt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/geom/geom_gpt.c b/sys/geom/geom_gpt.c
index a127ed0..568420d 100644
--- a/sys/geom/geom_gpt.c
+++ b/sys/geom/geom_gpt.c
@@ -57,6 +57,9 @@
#include <geom/geom.h>
#include <geom/geom_slice.h>
+CTASSERT(offsetof(struct gpt_hdr, padding) == 92);
+CTASSERT(sizeof(struct gpt_ent) == 128);
+
/*
* XXX: GEOM is not dynamic enough. We are forced to use a compile-time
* limit. The minimum number of partitions (128) as required by EFI is
OpenPOWER on IntegriCloud