summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2013-10-04 22:05:23 +0000
committerkib <kib@FreeBSD.org>2013-10-04 22:05:23 +0000
commit677c1f8ce94e86a14e9a4e83af5746dad45ff36e (patch)
tree267b335b06557a02f67f138ef4eba81b23c9fef6
parent64b622034f8aa86dc97f56d045d65e54cdd1f951 (diff)
downloadFreeBSD-src-677c1f8ce94e86a14e9a4e83af5746dad45ff36e.zip
FreeBSD-src-677c1f8ce94e86a14e9a4e83af5746dad45ff36e.tar.gz
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)
-rw-r--r--sys/compat/freebsd32/freebsd32.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/compat/freebsd32/freebsd32.h b/sys/compat/freebsd32/freebsd32.h
index e6644f6..8376e95 100644
--- a/sys/compat/freebsd32/freebsd32.h
+++ b/sys/compat/freebsd32/freebsd32.h
@@ -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));
OpenPOWER on IntegriCloud