summaryrefslogtreecommitdiffstats
path: root/sys/kern/sys_pipe.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2004-07-22 06:11:10 +0000
committertedu <tedu@openbsd.org>2004-07-22 06:11:10 +0000
commitcf9f5806dfbfcd276936f484e82f8ae165f9820d (patch)
tree4afe5fb477c4df090c04db35289190b91a871d6b /sys/kern/sys_pipe.c
parentremove an unused var (diff)
downloadwireguard-openbsd-cf9f5806dfbfcd276936f484e82f8ae165f9820d.tar.xz
wireguard-openbsd-cf9f5806dfbfcd276936f484e82f8ae165f9820d.zip
remove p arg from fdplock
Diffstat (limited to 'sys/kern/sys_pipe.c')
-rw-r--r--sys/kern/sys_pipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c
index 2fd73bea680..b3401ebbf78 100644
--- a/sys/kern/sys_pipe.c
+++ b/sys/kern/sys_pipe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sys_pipe.c,v 1.48 2004/07/21 17:05:40 art Exp $ */
+/* $OpenBSD: sys_pipe.c,v 1.49 2004/07/22 06:13:08 tedu Exp $ */
/*
* Copyright (c) 1996 John S. Dyson
@@ -111,7 +111,7 @@ sys_opipe(p, v, retval)
struct pipe *rpipe, *wpipe;
int fd, error;
- fdplock(fdp, p);
+ fdplock(fdp);
rpipe = pool_get(&pipe_pool, PR_WAITOK);
error = pipe_create(rpipe);