summaryrefslogtreecommitdiff
path: root/sys/compat/freebsd/freebsd_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/freebsd/freebsd_file.c')
-rw-r--r--sys/compat/freebsd/freebsd_file.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/compat/freebsd/freebsd_file.c b/sys/compat/freebsd/freebsd_file.c
index 56baf4b0b11..ddd063a2935 100644
--- a/sys/compat/freebsd/freebsd_file.c
+++ b/sys/compat/freebsd/freebsd_file.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: freebsd_file.c,v 1.18 2004/07/09 23:52:02 millert Exp $ */
+/* $OpenBSD: freebsd_file.c,v 1.19 2004/07/13 21:04:29 millert Exp $ */
/* $NetBSD: freebsd_file.c,v 1.3 1996/05/03 17:03:09 christos Exp $ */
/*
@@ -726,12 +726,12 @@ freebsd_sys_stat(p, v, retval)
{
struct freebsd_sys_stat_args /* {
syscallarg(char *) path;
- syscallarg(struct stat *) ub;
+ syscallarg(struct stat35 *) ub;
} */ *uap = v;
caddr_t sg = stackgap_init(p->p_emul);
FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
- return sys_stat(p, uap, retval);
+ return compat_35_sys_stat(p, uap, retval);
}
int
@@ -742,12 +742,12 @@ freebsd_sys_lstat(p, v, retval)
{
struct freebsd_sys_lstat_args /* {
syscallarg(char *) path;
- syscallarg(struct stat *) ub;
+ syscallarg(struct stat35 *) ub;
} */ *uap = v;
caddr_t sg = stackgap_init(p->p_emul);
FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
- return sys_lstat(p, uap, retval);
+ return compat_35_sys_lstat(p, uap, retval);
}
int