From: Quanah Gibson-Mount Date: Mon, 19 Apr 2010 22:55:51 +0000 (+0000) Subject: Agreed upon log messages for sl_malloc/zn_malloc when falling back X-Git-Tag: MIGRATION_CVS2GIT~611 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fa428ed25994d8c3366fc323dbe87226662c22f2;p=openldap Agreed upon log messages for sl_malloc/zn_malloc when falling back --- diff --git a/servers/slapd/sl_malloc.c b/servers/slapd/sl_malloc.c index 07ac96247e..8da18f7bea 100644 --- a/servers/slapd/sl_malloc.c +++ b/servers/slapd/sl_malloc.c @@ -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); } diff --git a/servers/slapd/zn_malloc.c b/servers/slapd/zn_malloc.c index d5c2d6a361..39d3d63874 100644 --- a/servers/slapd/zn_malloc.c +++ b/servers/slapd/zn_malloc.c @@ -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",