summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-10-29 06:43:57 +0000
committerphk <phk@FreeBSD.org>2002-10-29 06:43:57 +0000
commitb676b9e9b3390019c2b232fed7b7efbf5235f20b (patch)
tree3b1392d759622019ffddf08a5454daafc2e977cc /sys
parent8f7162cbd9ef4339bec21fd7c82645a5919191a3 (diff)
downloadFreeBSD-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.h2
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
OpenPOWER on IntegriCloud