]> git.sur5r.net Git - openldap/commitdiff
Gentler message when falling back to ch_malloc
authorHallvard Furuseth <hallvard@openldap.org>
Fri, 15 Jan 2010 18:53:13 +0000 (18:53 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Fri, 15 Jan 2010 18:53:13 +0000 (18:53 +0000)
servers/slapd/sl_malloc.c
servers/slapd/zn_malloc.c

index 9009a6a717d1e5844d334d21d4151eca987f6150..07ac96247e0306879d17379a7ccdbcf2a563f772 100644 (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);
 }
index e5f738e5448f16503e169013b46a019350d1b32a..adbb726d4ddb0604f5dc812c670fb3441dcb2240 100644 (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",