Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2010 15:59:44 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r205838 - head/sys/sys
Message-ID:  <201003291559.o2TFxii5001943@svn.freebsd.org>

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



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