From 8bb566164c77a856813d9382b48acbe68fdfb4e6 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 29 Mar 2010 15:59:44 +0000 Subject: [PATCH] Mark the vtoc.h structure as packed so that it is the right size and layout on arm. MFC after: 7 days --- sys/sys/vtoc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/vtoc.h b/sys/sys/vtoc.h index 231da0055b2..7745bcac4b0 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);