summaryrefslogtreecommitdiffstats
path: root/sys/sys/vtoc.h
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2008-12-14 23:12:36 +0000
committermarcel <marcel@FreeBSD.org>2008-12-14 23:12:36 +0000
commit71736a082ba2b51df403996cf10d63124f2d238e (patch)
treea1e99cf946bb9447d0d23382071ee22f6ca5b838 /sys/sys/vtoc.h
parentac00ba8d82ff1b7e9c4ef9dc181649c3d6c86411 (diff)
downloadFreeBSD-src-71736a082ba2b51df403996cf10d63124f2d238e.zip
FreeBSD-src-71736a082ba2b51df403996cf10d63124f2d238e.tar.gz
Add __packed to the part sub-structure to compensate for
the 32-bit default structure alignment on ARM.
Diffstat (limited to 'sys/sys/vtoc.h')
-rw-r--r--sys/sys/vtoc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/vtoc.h b/sys/sys/vtoc.h
index 83b8547..231da00 100644
--- a/sys/sys/vtoc.h
+++ b/sys/sys/vtoc.h
@@ -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;
OpenPOWER on IntegriCloud