summaryrefslogtreecommitdiff
path: root/sys/compat/common
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-05-14 11:04:06 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-05-14 11:04:06 +0000
commit1d14ab3ff6a554ad76514dd6ab7007fcdb478a37 (patch)
tree76d737949c1c790e542a3ed44450aa6761e6d777 /sys/compat/common
parent71f76dd0db566ca751d290bf40f5babf7ebbf9d9 (diff)
More generic arguments to soo_stat.
Diffstat (limited to 'sys/compat/common')
-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