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);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to