]> granicus.if.org Git - sudo/commitdiff
warn -> warning
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 8 Jul 2007 18:41:17 +0000 (18:41 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 8 Jul 2007 18:41:17 +0000 (18:41 +0000)
ldap.c

diff --git a/ldap.c b/ldap.c
index 818f91dc129606493a3f4b968c6a613c57c53e0f..3b3c3ee8c6ccb9642d52f0280f80d9c88c9dcfe0 100644 (file)
--- a/ldap.c
+++ b/ldap.c
@@ -80,7 +80,7 @@ __unused static const char rcsid[] = "$Sudo$";
        (var) != NULL;                                                  \
        (var) = ldap_next_entry((ld), (var)))
 
-#define        DPRINTF(args, level)    if (ldap_conf.debug >= level) warnx args
+#define        DPRINTF(args, level)    if (ldap_conf.debug >= level) warningx args
 
 /* ldap configuration structure */
 struct ldap_config {
@@ -914,7 +914,7 @@ sudo_ldap_open()
     if (ldap_conf.host) {
        DPRINTF(("ldap_init(%s,%d)", ldap_conf.host, ldap_conf.port), 2);
        if ((ld = ldap_init(ldap_conf.host, ldap_conf.port)) == NULL) {
-           warn("ldap_init()");
+           warning("ldap_init()");
            return(NULL);
        }
     }