aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2021-11-17 20:12:23 +0000
committerBrooks Davis <brooks@FreeBSD.org>2021-11-17 20:12:23 +0000
commit381f6804ec6afd65871b59a7e94cac090e1d00df (patch)
treedf9d013bec9427c331c9eee9aa55b0493e18af0c
parent9946c920a4267e5bef322239fa8484e715baca4c (diff)
downloadsrc-381f6804ec6afd65871b59a7e94cac090e1d00df.tar.gz
src-381f6804ec6afd65871b59a7e94cac090e1d00df.zip
freebsd32: fix type of olstat arg
Reviewed by: kevans
-rw-r--r--sys/compat/freebsd32/freebsd32_proto.h2
-rw-r--r--sys/compat/freebsd32/syscalls.master2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/freebsd32/freebsd32_proto.h b/sys/compat/freebsd32/freebsd32_proto.h
index caccf13f02ec..102e574bdd2a 100644
--- a/sys/compat/freebsd32/freebsd32_proto.h
+++ b/sys/compat/freebsd32/freebsd32_proto.h
@@ -918,7 +918,7 @@ struct ofreebsd32_stat_args {
};
struct ofreebsd32_lstat_args {
char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
- char ub_l_[PADL_(struct ostat *)]; struct ostat * ub; char ub_r_[PADR_(struct ostat *)];
+ char ub_l_[PADL_(struct ostat32 *)]; struct ostat32 * ub; char ub_r_[PADR_(struct ostat32 *)];
};
struct ofreebsd32_sigaction_args {
char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)];
diff --git a/sys/compat/freebsd32/syscalls.master b/sys/compat/freebsd32/syscalls.master
index ca1a42cf4fad..b6ed5a7c6a21 100644
--- a/sys/compat/freebsd32/syscalls.master
+++ b/sys/compat/freebsd32/syscalls.master
@@ -130,7 +130,7 @@
struct ostat32 *ub); }
39 AUE_GETPPID NOPROTO { pid_t getppid(void); }
40 AUE_LSTAT COMPAT { int freebsd32_lstat(const char *path, \
- struct ostat *ub); }
+ struct ostat32 *ub); }
41 AUE_DUP NOPROTO { int dup(u_int fd); }
42 AUE_PIPE COMPAT10 { int freebsd32_pipe(void); }
43 AUE_GETEGID NOPROTO { gid_t getegid(void); }