diff options
author | Marcelo Araujo <araujo@FreeBSD.org> | 2015-12-15 15:46:14 +0000 |
---|---|---|
committer | Marcelo Araujo <araujo@FreeBSD.org> | 2015-12-15 15:46:14 +0000 |
commit | 6d652b139e1c52ea737ef585cce21be6d9b40e5c (patch) | |
tree | fe0bb717ab8c6550922fe86ed1b8a3addc2cbc01 /usr.sbin/ypldap | |
parent | 84e29f233abe7629aff78b918eb0e703d51b1db7 (diff) | |
download | src-6d652b139e1c52ea737ef585cce21be6d9b40e5c.tar.gz src-6d652b139e1c52ea737ef585cce21be6d9b40e5c.zip |
Remove a garbage printf used for debug.
Approved by: bapt (mentor implicit)
Notes
Notes:
svn path=/head/; revision=292273
Diffstat (limited to 'usr.sbin/ypldap')
-rw-r--r-- | usr.sbin/ypldap/ldapclient.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/ypldap/ldapclient.c b/usr.sbin/ypldap/ldapclient.c index ff4abe336b4d..d522fb4c77b8 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"); |