about summary refs log tree commit diff
path: root/nis/ypclnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'nis/ypclnt.c')
-rw-r--r--nis/ypclnt.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/nis/ypclnt.c b/nis/ypclnt.c
index a20d4926aa..f67a8f8b86 100644
--- a/nis/ypclnt.c
+++ b/nis/ypclnt.c
@@ -680,10 +680,7 @@ yp_all (const char *indomain, const char *inmap,
       clnt_sin.sin_port = 0;
       clnt = clnttcp_create (&clnt_sin, YPPROG, YPVERS, &clnt_sock, 0, 0);
       if (clnt == NULL)
-	{
-	  puts (_("yp_all: clnttcp_create failed"));
-	  return YPERR_PMAP;
-	}
+	return YPERR_PMAP;
       req.domain = (char *) indomain;
       req.map = (char *) inmap;