Agreed upon log messages for sl_malloc/zn_malloc when falling back

This commit is contained in:
Quanah Gibson-Mount 2010-04-19 22:55:51 +00:00
parent 993d377b68
commit fa428ed259
2 changed files with 2 additions and 2 deletions

View 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);
}

View 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",