Mark the vtoc.h structure as packed so that it is the right size and

layout on arm.

MFC after:	7 days
This commit is contained in:
Warner Losh 2010-03-29 15:59:44 +00:00
parent 9d5d3712db
commit 8bb566164c

View file

@ -97,7 +97,7 @@ struct vtoc8 {
} map[VTOC8_NPARTS];
uint16_t magic;
uint16_t cksum;
};
} __packed;
#ifdef CTASSERT
CTASSERT(sizeof(struct vtoc8) == 512);