diff options
| author | 2012-04-22 05:43:14 +0000 | |
|---|---|---|
| committer | 2012-04-22 05:43:14 +0000 | |
| commit | 06a89b59aa60d7f9c0e1ea26802b0384ef0dc14c (patch) | |
| tree | 2a68460f65d82ea3089edac4aeb664d53b5154e8 /sys/compat/linux/linux_socket.c | |
| parent | Fix printing commands with no arguments, from Benjamin Poirier. (diff) | |
| download | wireguard-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_socket.c')
| -rw-r--r-- | sys/compat/linux/linux_socket.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c index 21598960a36..d17d67811e0 100644 --- a/sys/compat/linux/linux_socket.c +++ b/sys/compat/linux/linux_socket.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_socket.c,v 1.43 2011/12/03 12:38:30 fgsch Exp $ */ +/* $OpenBSD: linux_socket.c,v 1.44 2012/04/22 05:43:14 guenther Exp $ */ /* $NetBSD: linux_socket.c,v 1.14 1996/04/05 00:01:50 christos Exp $ */ /* @@ -1074,7 +1074,7 @@ linux_setsockopt(p, v, retval) } error = sosetopt(so, level, name, m); bad: - FRELE(fp); + FRELE(fp, p); return (error); } @@ -1588,6 +1588,6 @@ out: error = sys_ioctl(p, &ia, retval); } - FRELE(fp); + FRELE(fp, p); return (error); } |
