diff options
author | phk <phk@FreeBSD.org> | 2002-10-29 06:43:57 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-10-29 06:43:57 +0000 |
commit | b676b9e9b3390019c2b232fed7b7efbf5235f20b (patch) | |
tree | 3b1392d759622019ffddf08a5454daafc2e977cc /sys | |
parent | 8f7162cbd9ef4339bec21fd7c82645a5919191a3 (diff) | |
download | FreeBSD-src-b676b9e9b3390019c2b232fed7b7efbf5235f20b.zip FreeBSD-src-b676b9e9b3390019c2b232fed7b7efbf5235f20b.tar.gz |
Duh. #ifdef CTASSERT so we don't break user-land software.
Diffstat (limited to 'sys')
-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 43a18a1..c975792 100644 --- a/sys/sys/sun_disklabel.h +++ b/sys/sys/sun_disklabel.h @@ -100,4 +100,6 @@ struct sun_disklabel { /* total size = 512 bytes */ u_int16_t sl_cksum; /* xor checksum of all shorts */ }; +#ifdef CTASSERT CTASSERT(sizeof (struct sun_disklabel) == 512); +#endif |