From 677c1f8ce94e86a14e9a4e83af5746dad45ff36e Mon Sep 17 00:00:00 2001 From: kib Date: Fri, 4 Oct 2013 22:05:23 +0000 Subject: 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) --- sys/compat/freebsd32/freebsd32.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/compat/freebsd32') 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)); -- cgit v1.1