summaryrefslogtreecommitdiff
path: root/lib/libc/rpc/pmap_clnt.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-09-02 06:47:20 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-09-02 06:47:20 +0000
commit2b1d79ba03b24abb64db7450b16c1e643abc675e (patch)
tree2793ef935b672ed898c77ee9bae3f38177dde8cd /lib/libc/rpc/pmap_clnt.c
parent7be54aa04984e4ee68c7ec4672aef608ab12c9f6 (diff)
Delete 3 more stderr messages, right before returning a proper error.
Code from way in the past.
Diffstat (limited to 'lib/libc/rpc/pmap_clnt.c')
-rw-r--r--lib/libc/rpc/pmap_clnt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/rpc/pmap_clnt.c b/lib/libc/rpc/pmap_clnt.c
index ca17a51504d..0abba0892e3 100644
--- a/lib/libc/rpc/pmap_clnt.c
+++ b/lib/libc/rpc/pmap_clnt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap_clnt.c,v 1.17 2014/11/11 04:51:49 guenther Exp $ */
+/* $OpenBSD: pmap_clnt.c,v 1.18 2015/09/02 06:47:19 deraadt Exp $ */
/*
* Copyright (c) 2010, Oracle America, Inc.
@@ -74,7 +74,6 @@ pmap_set(u_long program, u_long version, u_int protocol, int iport)
if (CLNT_CALL(client, PMAPPROC_SET, xdr_pmap, &parms, xdr_bool, &rslt,
tottimeout) != RPC_SUCCESS) {
save_errno = errno;
- clnt_perror(client, "Cannot register service");
rslt = FALSE;
} else
save_errno = errno;