diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-01-17 18:16:49 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-01-17 18:16:49 +0000 |
commit | 9cf99e1dd2bc9cd40a374ef0a43b36c874fd0e13 (patch) | |
tree | 11e1e90d3898fe3f909135c29d301702ae7269ed /sys/kern | |
parent | a68bb2f3100afe06e37fdcfe0938115283ac9cb6 (diff) |
oops, another syscall pipe() botch; karls@inet.no
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/uipc_syscalls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_syscalls.c b/sys/kern/uipc_syscalls.c index f5103797f94..4bd3f24da99 100644 --- a/sys/kern/uipc_syscalls.c +++ b/sys/kern/uipc_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uipc_syscalls.c,v 1.29 1999/12/08 06:50:17 itojun Exp $ */ +/* $OpenBSD: uipc_syscalls.c,v 1.30 2000/01/17 18:16:48 deraadt Exp $ */ /* $NetBSD: uipc_syscalls.c,v 1.19 1996/02/09 19:00:48 christos Exp $ */ /* @@ -867,7 +867,7 @@ sys_pipe(p, v, retval) int error, fds[2]; register_t rval[2]; - if ((error = sys_opipe(p, v, rval)) == -1) + if ((error = sys_opipe(p, v, rval)) != 0) return (error); fds[0] = rval[0]; |