svn commit: r206536 - stable/8/sys/sys
Warner Losh
imp at FreeBSD.org
Tue Apr 13 01:22:17 UTC 2010
Author: imp
Date: Tue Apr 13 00:55:11 2010
New Revision: 206536
URL: http://svn.freebsd.org/changeset/base/206536
Log:
MFC 205838:
Mark the vtoc.h structure as packed so that it is the right size and
layout on arm.
MFC after: 7 days
Modified:
stable/8/sys/sys/vtoc.h
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
Modified: stable/8/sys/sys/vtoc.h
==============================================================================
--- stable/8/sys/sys/vtoc.h Tue Apr 13 00:48:54 2010 (r206535)
+++ stable/8/sys/sys/vtoc.h Tue Apr 13 00:55:11 2010 (r206536)
@@ -97,7 +97,7 @@ struct vtoc8 {
} map[VTOC8_NPARTS];
uint16_t magic;
uint16_t cksum;
-};
+} __packed;
#ifdef CTASSERT
CTASSERT(sizeof(struct vtoc8) == 512);
More information about the svn-src-stable
mailing list