]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-monitor/thread.c
Fix LBER_ERROR vs. -1 confusion.
[openldap] / servers / slapd / back-monitor / thread.c
index 63b747627093b781f555232b4f3a126b45ca04b3..85331e597d80d34e8ee6462588d34a770e542d52 100644 (file)
@@ -1,6 +1,6 @@
 /* thread.c - deal with thread subsystem */
 /*
- * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 /*
@@ -57,9 +57,9 @@ monitor_subsys_thread_init(
                &monitor_subsys[SLAPD_MONITOR_THREAD].mss_ndn, &e ) )
        {
 #ifdef NEW_LOGGING
-               LDAP_LOG(( "operation", LDAP_LEVEL_CRIT,
+               LDAP_LOG( OPERATION, CRIT,
                        "monitor_subsys_thread_init: unable to get entry '%s'\n",
-                       monitor_subsys[SLAPD_MONITOR_THREAD].mss_ndn.bv_val ));
+                       monitor_subsys[SLAPD_MONITOR_THREAD].mss_ndn.bv_val, 0, 0 );
 #else
                Debug( LDAP_DEBUG_ANY,
                        "monitor_subsys_thread_init: unable to get entry '%s'\n",