From 2dd258160a988888832a006ec38aa1384ed5ab95 Mon Sep 17 00:00:00 2001 From: araujo Date: Tue, 15 Dec 2015 15:46:14 +0000 Subject: Remove a garbage printf used for debug. Approved by: bapt (mentor implicit) --- usr.sbin/ypldap/ldapclient.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/usr.sbin/ypldap/ldapclient.c b/usr.sbin/ypldap/ldapclient.c index ff4abe3..d522fb4 100644 --- a/usr.sbin/ypldap/ldapclient.c +++ b/usr.sbin/ypldap/ldapclient.c @@ -377,10 +377,8 @@ ldapclient(int pipe_main2client[2]) bzero(&env, sizeof(env)); TAILQ_INIT(&env.sc_idms); - if ((pw = getpwnam(YPLDAP_USER)) == NULL) { - printf("ldapclient.c error\n"); + if ((pw = getpwnam(YPLDAP_USER)) == NULL) fatal("getpwnam"); - } if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, pipe_dns) == -1) fatal("socketpair"); -- cgit v1.1