diff options
| author | 2015-05-07 08:53:32 +0000 | |
|---|---|---|
| committer | 2015-05-07 08:53:32 +0000 | |
| commit | f4ce75d227baed03d13911d26f451a7294b81b3e (patch) | |
| tree | 5529cccce647e880c8a39be0124534d12c7592e2 /sys/compat/linux/linux_misc.c | |
| parent | array.h can be local to window-choose.c now. (diff) | |
| download | wireguard-openbsd-f4ce75d227baed03d13911d26f451a7294b81b3e.tar.xz wireguard-openbsd-f4ce75d227baed03d13911d26f451a7294b81b3e.zip | |
Pass a thread pointer instead of its file descriptor table to getvnode(9).
Input and ok millert@
Diffstat (limited to 'sys/compat/linux/linux_misc.c')
| -rw-r--r-- | sys/compat/linux/linux_misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index f960b778f97..be01c8a1516 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_misc.c,v 1.93 2015/05/02 14:43:06 jsg Exp $ */ +/* $OpenBSD: linux_misc.c,v 1.94 2015/05/07 08:53:32 mpi Exp $ */ /* $NetBSD: linux_misc.c,v 1.27 1996/05/20 01:59:21 fvdl Exp $ */ /*- @@ -1187,7 +1187,7 @@ getdents_common(p, v, retval, is64bit) int error; int nbytes = SCARG(uap, count); - if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) + if ((error = getvnode(p, SCARG(uap, fd), &fp)) != 0) return (error); if (nbytes == 1) { /* emulating old, broken behaviour */ |
