diff options
Diffstat (limited to 'sys/kern/subr_stats.c')
-rw-r--r-- | sys/kern/subr_stats.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/subr_stats.c b/sys/kern/subr_stats.c index 10e5eaef4e27..bbdc1039237e 100644 --- a/sys/kern/subr_stats.c +++ b/sys/kern/subr_stats.c @@ -124,7 +124,8 @@ struct statsblobv1 { struct voi vois[]; /* Array indexed by [voi_id]. */ } __aligned(sizeof(void *)); _Static_assert(offsetof(struct statsblobv1, cursz) + - SIZEOF_MEMBER(struct statsblobv1, cursz) == sizeof(struct statsblob), + SIZEOF_MEMBER(struct statsblobv1, cursz) == + offsetof(struct statsblob, opaque), "statsblobv1 ABI mismatch"); struct statsblobv1_tpl { |