Gentler message when falling back to ch_malloc

This commit is contained in:
Hallvard Furuseth 2010-01-15 18:53:13 +00:00
parent b8a1da95a2
commit d58f4ff849
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 failed, using ch_malloc\n",
"slap_sl_malloc of %lu bytes falling back to 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 failed, using ch_malloc\n",
"slap_zn_malloc of %lu bytes falling back to ch_malloc\n",
(long)size, 0, 0);
Debug(LDAP_DEBUG_NONE,
"slap_zn_malloc: returning 0x%x, 0x%x\n",