summaryrefslogtreecommitdiff
path: root/sys/compat/common/vfs_syscalls_43.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/common/vfs_syscalls_43.c')
-rw-r--r--sys/compat/common/vfs_syscalls_43.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/common/vfs_syscalls_43.c b/sys/compat/common/vfs_syscalls_43.c
index 5dafe897634..466dfb3d3cc 100644
--- a/sys/compat/common/vfs_syscalls_43.c
+++ b/sys/compat/common/vfs_syscalls_43.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_syscalls_43.c,v 1.11 2001/05/14 10:51:26 art Exp $ */
+/* $OpenBSD: vfs_syscalls_43.c,v 1.12 2001/05/14 11:04:04 art Exp $ */
/* $NetBSD: vfs_syscalls_43.c,v 1.4 1996/03/14 19:31:52 christos Exp $ */
/*
@@ -206,7 +206,7 @@ compat_43_sys_fstat(p, v, retval)
break;
case DTYPE_SOCKET:
- error = soo_stat((struct socket *)fp->f_data, &ub);
+ error = soo_stat(fp, &ub, p);
break;
#ifndef OLD_PIPE