summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2010-03-29 15:59:44 +0000
committerimp <imp@FreeBSD.org>2010-03-29 15:59:44 +0000
commitd1e1db61686c43b7093a572d68e7ad5d14ff9590 (patch)
treeea4776f178a4193d25291664872f98a06e263f7d
parent38f0ed3dad1ef8244fbf4ce5f541780d7dbeba61 (diff)
downloadFreeBSD-src-d1e1db61686c43b7093a572d68e7ad5d14ff9590.zip
FreeBSD-src-d1e1db61686c43b7093a572d68e7ad5d14ff9590.tar.gz
Mark the vtoc.h structure as packed so that it is the right size and
layout on arm. MFC after: 7 days
-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 231da00..7745bca 100644
--- a/sys/sys/vtoc.h
+++ b/sys/sys/vtoc.h
@@ -97,7 +97,7 @@ struct vtoc8 {
} map[VTOC8_NPARTS];
uint16_t magic;
uint16_t cksum;
-};
+} __packed;
#ifdef CTASSERT
CTASSERT(sizeof(struct vtoc8) == 512);
OpenPOWER on IntegriCloud