1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00

Add __packed to the part sub-structure to compensate for

the 32-bit default structure alignment on ARM.
This commit is contained in:
Marcel Moolenaar 2008-12-14 23:12:36 +00:00
parent 4e543e5c37
commit 6d4a005863
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=186096

View File

@ -72,7 +72,7 @@ struct vtoc8 {
struct {
uint16_t tag;
uint16_t flag;
} part[VTOC8_NPARTS];
} part[VTOC8_NPARTS] __packed;
uint16_t __alignment;
uint32_t bootinfo[3];
uint32_t sanity;