]> git.sur5r.net Git - openldap/commitdiff
Gentler message when falling back to ch_malloc
authorQuanah Gibson-Mount <quanah@openldap.org>
Fri, 16 Apr 2010 20:08:16 +0000 (20:08 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Fri, 16 Apr 2010 20:08:16 +0000 (20:08 +0000)
servers/slapd/sl_malloc.c
servers/slapd/zn_malloc.c

index 93cbfe543585f48d1df77c8c0fd34d36ed08fc21..a295483068cefd5fecf7bb17e03cf65a96dffa77 100644 (file)
@@ -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);
                }
index e569fcac25483bf5a192f52288bf75cc0509952d..54f92e3441364676fc106567000242c10b57583f 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",