]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add compile time asserts for the size of struct gpt_hdr and struct
authormarcel <marcel@FreeBSD.org>
Thu, 30 May 2002 06:33:07 +0000 (06:33 +0000)
committermarcel <marcel@FreeBSD.org>
Thu, 30 May 2002 06:33:07 +0000 (06:33 +0000)
commit05e39ee52e7bba6274be13a20194812cca7afb48
treef1e402744eded5421688c1d78d25e723a14e63a2
parent4898ea0542aae35dc9394097ca29f9215d1f28a6
Add compile time asserts for the size of struct gpt_hdr and struct
gpt_ent. Use offsetof() for struct gpt_hdr to exclude padding.
sys/geom/geom_gpt.c