]> git.sur5r.net Git - openldap/commitdiff
Agreed upon log messages for sl_malloc/zn_malloc when falling back
authorQuanah Gibson-Mount <quanah@openldap.org>
Mon, 19 Apr 2010 22:55:51 +0000 (22:55 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 19 Apr 2010 22:55:51 +0000 (22:55 +0000)
servers/slapd/sl_malloc.c
servers/slapd/zn_malloc.c

index 07ac96247e0306879d17379a7ccdbcf2a563f772..8da18f7bea1fdc8aea08a4aba489eede6fb99d86 100644 (file)
@@ -363,7 +363,7 @@ slap_sl_malloc(
        }
 
        Debug(LDAP_DEBUG_TRACE,
-               "slap_sl_malloc of %lu bytes falling back to ch_malloc\n",
+               "sl_malloc %lu: ch_malloc\n",
                (unsigned long) size, 0, 0);
        return ch_malloc(size);
 }
index d5c2d6a3610db67d6fc73bc60707861a0ddaa8ef..39d3d63874d9b7f9476b8411074327d70c51eedf 100644 (file)
@@ -329,7 +329,7 @@ retry:
                if ( zh->zh_maxzones < zh->zh_numzones + zh->zh_deltazones ) {
                        ldap_pvt_thread_mutex_unlock( &zh->zh_mutex );
                        Debug( LDAP_DEBUG_TRACE,
-                               "slap_zn_malloc of %lu bytes falling back to ch_malloc\n",
+                               "zn_malloc %lu: ch_malloc\n",
                                (long)size, 0, 0);
                        Debug(LDAP_DEBUG_NONE,
                                "slap_zn_malloc: returning 0x%x, 0x%x\n",