From d58f4ff849698987df2434113d80249131a58465 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Fri, 15 Jan 2010 18:53:13 +0000 Subject: [PATCH] Gentler message when falling back to ch_malloc --- servers/slapd/sl_malloc.c | 2 +- servers/slapd/zn_malloc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/sl_malloc.c b/servers/slapd/sl_malloc.c index 9009a6a717..07ac96247e 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 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); } diff --git a/servers/slapd/zn_malloc.c b/servers/slapd/zn_malloc.c index e5f738e544..adbb726d4d 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 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", -- 2.39.5