svn commit: r205838 - head/sys/sys

Warner Losh imp at FreeBSD.org
Mon Mar 29 15:59:46 UTC 2010


Author: imp
Date: Mon Mar 29 15:59:44 2010
New Revision: 205838
URL: http://svn.freebsd.org/changeset/base/205838

Log:
  Mark the vtoc.h structure as packed so that it is the right size and
  layout on arm.
  
  MFC after:	7 days

Modified:
  head/sys/sys/vtoc.h

Modified: head/sys/sys/vtoc.h
==============================================================================
--- head/sys/sys/vtoc.h	Mon Mar 29 15:59:37 2010	(r205837)
+++ head/sys/sys/vtoc.h	Mon Mar 29 15:59:44 2010	(r205838)
@@ -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-head mailing list