From 06a89b59aa60d7f9c0e1ea26802b0384ef0dc14c Mon Sep 17 00:00:00 2001 From: guenther Date: Sun, 22 Apr 2012 05:43:14 +0000 Subject: Add struct proc * argument to FRELE() and FILE_SET_MATURE() in anticipation of further changes to closef(). No binary change. ok krw@ miod@ deraadt@ --- sys/compat/linux/linux_fdio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/compat/linux/linux_fdio.c') 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; } -- cgit v1.2.3-59-g8ed1b