summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2015-12-15 15:46:14 +0000
committeraraujo <araujo@FreeBSD.org>2015-12-15 15:46:14 +0000
commit2dd258160a988888832a006ec38aa1384ed5ab95 (patch)
treefe0bb717ab8c6550922fe86ed1b8a3addc2cbc01 /usr.sbin
parentc269bcd7edce9d0a34377dcf4cacf77c276263b7 (diff)
downloadFreeBSD-src-2dd258160a988888832a006ec38aa1384ed5ab95.zip
FreeBSD-src-2dd258160a988888832a006ec38aa1384ed5ab95.tar.gz
Remove a garbage printf used for debug.
Approved by: bapt (mentor implicit)
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ypldap/ldapclient.c4
1 files changed, 1 insertions, 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");
OpenPOWER on IntegriCloud