summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-10-12 14:34:43 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-10-12 14:34:43 +0000
commit2290382075e1be3d168133ccc4aa373cecd8c885 (patch)
tree65304d414f7d139fe7da26273cd2589eb7a4b432 /sys/kern
parent10bf8afe296f2d09fe6da28249e5746650932e30 (diff)
Correct sys_pipe's 3rd arg type, alpha needs it
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/sys_pipe.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c
index f5a6bb7041a..bc8be79f4d1 100644
--- a/sys/kern/sys_pipe.c
+++ b/sys/kern/sys_pipe.c
@@ -16,7 +16,7 @@
* 4. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: sys_pipe.c,v 1.3 1996/09/05 12:31:14 mickey Exp $
+ * $Id: sys_pipe.c,v 1.4 1996/10/12 14:34:42 niklas Exp $
*/
#ifndef OLD_PIPE
@@ -169,7 +169,11 @@ sys_pipe(p, v, retval)
#endif
struct proc *p;
void *v;
+#if defined(__FreeBSD__)
int retval[];
+#else /* (__NetBSD__) || (__OpenBSD__) */
+ register_t *retval;
+#endif
{
register struct filedesc *fdp = p->p_fd;
struct file *rf, *wf;