aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/sys/sun_disklabel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/sun_disklabel.h b/sys/sys/sun_disklabel.h
index cdd19cc7d0166..43a18a19226db 100644
--- a/sys/sys/sun_disklabel.h
+++ b/sys/sys/sun_disklabel.h
@@ -99,3 +99,5 @@ struct sun_disklabel { /* total size = 512 bytes */
u_int16_t sl_magic; /* == SUN_DKMAGIC */
u_int16_t sl_cksum; /* xor checksum of all shorts */
};
+
+CTASSERT(sizeof (struct sun_disklabel) == 512);