summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1999-06-11 18:10:25 +0000
committerNiels Provos <provos@cvs.openbsd.org>1999-06-11 18:10:25 +0000
commite5a9b6a07d1fe774ee3fe08ea5af55d5c8998387 (patch)
tree6df2f6f68afa2efab0dbe2b1041ffc861b6ce96f /sys/kern
parent316e0870f7f385c7e9dfa648d3f9d55ab6a1811b (diff)
oops
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/uipc_syscalls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_syscalls.c b/sys/kern/uipc_syscalls.c
index e9d7c6c8b40..15589e3bd16 100644
--- a/sys/kern/uipc_syscalls.c
+++ b/sys/kern/uipc_syscalls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_syscalls.c,v 1.25 1999/06/08 17:13:08 deraadt Exp $ */
+/* $OpenBSD: uipc_syscalls.c,v 1.26 1999/06/11 18:10:24 provos Exp $ */
/* $NetBSD: uipc_syscalls.c,v 1.19 1996/02/09 19:00:48 christos Exp $ */
/*
@@ -851,7 +851,7 @@ sys_pipe(p, v, retval)
return (error);
fds[0] = retval[0];
- fds[1] = retval[0];
+ fds[1] = retval[1];
error = copyout((caddr_t)fds, (caddr_t)SCARG(uap, fdp),
2 * sizeof (int));
if (error) {