summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_fdio.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2012-04-22 05:43:14 +0000
committerguenther <guenther@openbsd.org>2012-04-22 05:43:14 +0000
commit06a89b59aa60d7f9c0e1ea26802b0384ef0dc14c (patch)
tree2a68460f65d82ea3089edac4aeb664d53b5154e8 /sys/compat/linux/linux_fdio.c
parentFix printing commands with no arguments, from Benjamin Poirier. (diff)
downloadwireguard-openbsd-06a89b59aa60d7f9c0e1ea26802b0384ef0dc14c.tar.xz
wireguard-openbsd-06a89b59aa60d7f9c0e1ea26802b0384ef0dc14c.zip
Add struct proc * argument to FRELE() and FILE_SET_MATURE() in
anticipation of further changes to closef(). No binary change. ok krw@ miod@ deraadt@
Diffstat (limited to 'sys/compat/linux/linux_fdio.c')
-rw-r--r--sys/compat/linux/linux_fdio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_fdio.c b/sys/compat/linux/linux_fdio.c
index 46bd15290db..e84801153d4 100644
--- a/sys/compat/linux/linux_fdio.c
+++ b/sys/compat/linux/linux_fdio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_fdio.c,v 1.6 2002/03/14 01:26:50 millert Exp $ */
+/* $OpenBSD: linux_fdio.c,v 1.7 2012/04/22 05:43:14 guenther Exp $ */
/* $NetBSD: linux_fdio.c,v 1.1 2000/12/10 14:12:16 fvdl Exp $ */
/*
@@ -145,6 +145,6 @@ linux_ioctl_fdio(struct proc *p, struct linux_sys_ioctl_args *uap,
error = EINVAL;
}
- FRELE(fp);
+ FRELE(fp, p);
return 0;
}