svn commit: r292273 - head/usr.sbin/ypldap
Marcelo Araujo
araujo at FreeBSD.org
Tue Dec 15 15:46:16 UTC 2015
Author: araujo
Date: Tue Dec 15 15:46:14 2015
New Revision: 292273
URL: https://svnweb.freebsd.org/changeset/base/292273
Log:
Remove a garbage printf used for debug.
Approved by: bapt (mentor implicit)
Modified:
head/usr.sbin/ypldap/ldapclient.c
Modified: head/usr.sbin/ypldap/ldapclient.c
==============================================================================
--- head/usr.sbin/ypldap/ldapclient.c Tue Dec 15 15:42:42 2015 (r292272)
+++ head/usr.sbin/ypldap/ldapclient.c Tue Dec 15 15:46:14 2015 (r292273)
@@ -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");
More information about the svn-src-all
mailing list