Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Oct 2013 22:05:23 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r256061 - head/sys/compat/freebsd32
Message-ID:  <201310042205.r94M5Nvt006596@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Fri Oct  4 22:05:23 2013
New Revision: 256061
URL: http://svnweb.freebsd.org/changeset/base/256061

Log:
  Add padding to match the compat32 struct stat32 definition to the real
  struct stat on 32bit architectures.
  
  Debugged and tested by:	bsam
  Sponsored by:	The FreeBSD Foundation
  MFC after:	1 week
  Approved by:	re (marius)

Modified:
  head/sys/compat/freebsd32/freebsd32.h

Modified: head/sys/compat/freebsd32/freebsd32.h
==============================================================================
--- head/sys/compat/freebsd32/freebsd32.h	Fri Oct  4 21:25:55 2013	(r256060)
+++ head/sys/compat/freebsd32/freebsd32.h	Fri Oct  4 22:05:23 2013	(r256061)
@@ -175,6 +175,7 @@ struct stat32 {
 	u_int32_t st_blksize;
 	u_int32_t st_flags;
 	u_int32_t st_gen;
+	int32_t	st_lspare;
 	struct timespec32 st_birthtim;
 	unsigned int :(8 / 2) * (16 - (int)sizeof(struct timespec32));
 	unsigned int :(8 / 2) * (16 - (int)sizeof(struct timespec32));



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