Skip to content
Snippets Groups Projects
Commit f416cb91 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

Gentler message when falling back to ch_malloc

parent da108b1e
No related branches found
No related tags found
No related merge requests found
......@@ -366,7 +366,7 @@ slap_sl_malloc(
}
} else {
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",
(long)size, 0, 0);
return (void*)ch_malloc(size);
}
......
......@@ -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",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment