diff options
| -rw-r--r-- | sys/sys/sun_disklabel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/sun_disklabel.h b/sys/sys/sun_disklabel.h index cdd19cc7d016..43a18a19226d 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); |
