svn commit: r256061 - head/sys/compat/freebsd32

Konstantin Belousov kib at FreeBSD.org
Fri Oct 4 22:05:24 UTC 2013


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));


More information about the svn-src-head mailing list