summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/clnt_tcp.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-09-01 19:54:00 +0000
committerderaadt <deraadt@openbsd.org>2015-09-01 19:54:00 +0000
commit137e52c28d0b3c8593db2d083b101b18dc53addb (patch)
tree59850bcd88a21799817060c1cece5e0e853894c1 /lib/libc/rpc/clnt_tcp.c
parentDisplay the correct source address when using a non-default routing (diff)
downloadwireguard-openbsd-137e52c28d0b3c8593db2d083b101b18dc53addb.tar.xz
wireguard-openbsd-137e52c28d0b3c8593db2d083b101b18dc53addb.zip
Remove all bogus writes to stderr. Only explicit requests should
go that way. ok miod beck
Diffstat (limited to 'lib/libc/rpc/clnt_tcp.c')
-rw-r--r--lib/libc/rpc/clnt_tcp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/rpc/clnt_tcp.c b/lib/libc/rpc/clnt_tcp.c
index c40de1107a1..1b164d6b0a2 100644
--- a/lib/libc/rpc/clnt_tcp.c
+++ b/lib/libc/rpc/clnt_tcp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clnt_tcp.c,v 1.26 2014/11/11 04:51:49 guenther Exp $ */
+/* $OpenBSD: clnt_tcp.c,v 1.27 2015/09/01 19:54:01 deraadt Exp $ */
/*
* Copyright (c) 2010, Oracle America, Inc.
@@ -119,14 +119,12 @@ clnttcp_create(struct sockaddr_in *raddr, u_long prog, u_long vers, int *sockp,
h = (CLIENT *)mem_alloc(sizeof(*h));
if (h == NULL) {
- (void)fprintf(stderr, "clnttcp_create: out of memory\n");
rpc_createerr.cf_stat = RPC_SYSTEMERROR;
rpc_createerr.cf_error.re_errno = errno;
goto fooy;
}
ct = (struct ct_data *)mem_alloc(sizeof(*ct));
if (ct == NULL) {
- (void)fprintf(stderr, "clnttcp_create: out of memory\n");
rpc_createerr.cf_stat = RPC_SYSTEMERROR;
rpc_createerr.cf_error.re_errno = errno;
goto fooy;