Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2010 00:55:12 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r206536 - stable/8/sys/sys
Message-ID:  <201004130055.o3D0tCL1093009@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004130055.o3D0tCL1093009>