summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-18 01:46:57 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-18 01:46:57 +0000
commit1cdeaed2eff9bbc5189fa2d4d367ce3aaea8c151 (patch)
treeac23aa450b6e8146ea632d0b852388a157ff6333 /sys
parent87ff92b39e1440651c0be90c41dd57393e848375 (diff)
socketpair() is not a hack in libc like pipe()
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/uipc_syscalls.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/uipc_syscalls.c b/sys/kern/uipc_syscalls.c
index 61cad76d888..f009d28c3ba 100644
--- a/sys/kern/uipc_syscalls.c
+++ b/sys/kern/uipc_syscalls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_syscalls.c,v 1.2 1996/03/03 17:20:21 niklas Exp $ */
+/* $OpenBSD: uipc_syscalls.c,v 1.3 1996/05/18 01:46:56 deraadt Exp $ */
/* $NetBSD: uipc_syscalls.c,v 1.19 1996/02/09 19:00:48 christos Exp $ */
/*
@@ -323,8 +323,6 @@ sys_socketpair(p, v, retval)
}
error = copyout((caddr_t)sv, (caddr_t)SCARG(uap, rsv),
2 * sizeof (int));
- retval[0] = sv[0]; /* XXX ??? */
- retval[1] = sv[1]; /* XXX ??? */
return (error);
free4:
ffree(fp2);