From: claudio Date: Sun, 19 Dec 2021 12:19:31 +0000 (+0000) Subject: log_warn -> log_warnx since the warning printed uses tls_error() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8cf5388233b2543d499c9a0a9194f6252f8318ef;p=openbsd log_warn -> log_warnx since the warning printed uses tls_error() and therefor printing the errno as well makes no sense. --- diff --git a/usr.sbin/ldapd/ldape.c b/usr.sbin/ldapd/ldape.c index 6a6c8f1c0f3..a7882f49d9f 100644 --- a/usr.sbin/ldapd/ldape.c +++ b/usr.sbin/ldapd/ldape.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ldape.c,v 1.35 2021/12/15 04:00:15 deraadt Exp $ */ +/* $OpenBSD: ldape.c,v 1.36 2021/12/19 12:19:31 claudio Exp $ */ /* * Copyright (c) 2009, 2010 Martin Hedenfalk @@ -432,7 +432,7 @@ ldape(int debug, int verbose, char *csockpath) fatal("ldape: couldn't allocate tls context"); if (tls_configure(l->tls, l->ssl->config)) { - log_warn("ldape: %s", tls_error(l->tls)); + log_warnx("ldape: %s", tls_error(l->tls)); fatal("ldape: couldn't configure tls"); } }