summaryrefslogtreecommitdiffstats
path: root/sys/kern/sys_pipe.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1999-06-07 07:17:42 +0000
committerderaadt <deraadt@openbsd.org>1999-06-07 07:17:42 +0000
commite7ff0a25cbfd4ef2bf92cef421fe2c17b0e446fa (patch)
treeed7e1f089e65c664cb99db4f0d04dd79f44ecd5e /sys/kern/sys_pipe.c
parentFix address typos in the example (markc@) (diff)
downloadwireguard-openbsd-e7ff0a25cbfd4ef2bf92cef421fe2c17b0e446fa.tar.xz
wireguard-openbsd-e7ff0a25cbfd4ef2bf92cef421fe2c17b0e446fa.zip
replacement pipe() system call; copies data into place inside kernel, so
that EFAULT return value is possible
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 ebc661bb095..f14e55a005f 100644
--- a/sys/kern/sys_pipe.c
+++ b/sys/kern/sys_pipe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sys_pipe.c,v 1.12 1999/06/07 01:41:01 deraadt Exp $ */
+/* $OpenBSD: sys_pipe.c,v 1.13 1999/06/07 07:17:42 deraadt Exp $ */
/*
* Copyright (c) 1996 John S. Dyson
@@ -156,7 +156,7 @@ int
#if defined(__FreeBSD__)
pipe(p, uap, retval)
#else /* (__NetBSD__) || (__OpenBSD__) */
-sys_pipe(p, v, retval)
+sys_opipe(p, v, retval)
#endif
struct proc *p;
void *v;