diff options
author | 1996-10-12 14:34:42 +0000 | |
---|---|---|
committer | 1996-10-12 14:34:42 +0000 | |
commit | e43cf88c2666fd681fd88e9ff00c00e04a634b02 (patch) | |
tree | 6280c7da1287e3b288dbbc6719e2784f3a00bfd5 /sys/kern/sys_pipe.c | |
parent | HOSTCC for maketab; from dale (diff) | |
download | wireguard-openbsd-e43cf88c2666fd681fd88e9ff00c00e04a634b02.tar.xz wireguard-openbsd-e43cf88c2666fd681fd88e9ff00c00e04a634b02.zip |
Correct sys_pipe's 3rd arg type, alpha needs it
Diffstat (limited to 'sys/kern/sys_pipe.c')
-rw-r--r-- | sys/kern/sys_pipe.c | 6 |
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; |