summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjfb <jfb@openbsd.org>2004-08-13 02:57:28 +0000
committerjfb <jfb@openbsd.org>2004-08-13 02:57:28 +0000
commit23229c9e63834432ec8a3500121bf8f53d170945 (patch)
tree27ce325d0ba3a352f4d1f5ef855daa764eea0747
parentAdd a macro for dummy timestamp strings (diff)
downloadwireguard-openbsd-23229c9e63834432ec8a3500121bf8f53d170945.tar.xz
wireguard-openbsd-23229c9e63834432ec8a3500121bf8f53d170945.zip
Leave stderr alone for the moment
-rw-r--r--usr.bin/cvs/proto.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/cvs/proto.c b/usr.bin/cvs/proto.c
index f31a0035760..5e9eff482ab 100644
--- a/usr.bin/cvs/proto.c
+++ b/usr.bin/cvs/proto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: proto.c,v 1.22 2004/08/12 20:09:40 jfb Exp $ */
+/* $OpenBSD: proto.c,v 1.23 2004/08/13 02:57:28 jfb Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -229,8 +229,7 @@ cvs_connect(struct cvsroot *root)
}
if (pid == 0) {
if ((dup2(infd[0], STDIN_FILENO) == -1) ||
- (dup2(outfd[1], STDOUT_FILENO) == -1) ||
- (dup2(errfd[1], STDERR_FILENO) == -1)) {
+ (dup2(outfd[1], STDOUT_FILENO) == -1)) {
cvs_log(LP_ERRNO,
"failed to setup standard streams for cvs server");
return (-1);