summaryrefslogtreecommitdiff
path: root/obj_map.c
diff options
context:
space:
mode:
authorhboehm <hboehm>2007-08-04 07:59:28 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:41 +0200
commit6db625e8a2a7d5d8b4faf8747b5688cd64f3949e (patch)
tree3f134e0ad5908487eafbfebf768b949d0ee9c468 /obj_map.c
parent03fd483a45856f6a1ea12544b19c51fa9a57a6d5 (diff)
2007-08-03 Hans Boehm <Hans.Boehm@hp.com>
* Makefile.direct: Remove comment fragment. * tests/tests.am: Add smashtest. * Makefile.in: Regenerate. * configure.ac: Define GC_USE_DLOPEN_WRAP with redirect-malloc. * configure: Regenerate. * pthread_support.c: Fix comment spelling. * include/private/gcconfig.h: Define USE_PROC_FOR_LIBRARIES with GC_LINUX_THREADS and REDIRECT_MALLOC. * tests/smash_test.c: Initial check-in. * obj_map.c: Print log entry to correct file. * include/private/thread_local_alloc.h: Add TlsAlloc error check.
Diffstat (limited to 'obj_map.c')
-rw-r--r--obj_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/obj_map.c b/obj_map.c
index c295c40..a173195 100644
--- a/obj_map.c
+++ b/obj_map.c
@@ -60,7 +60,7 @@ GC_bool GC_add_map_entry(size_t granules)
new_map = (short *)GC_scratch_alloc(MAP_LEN * sizeof(short));
if (new_map == 0) return(FALSE);
if (GC_print_stats)
- GC_printf("Adding block map for size of %u granules (%u bytes)\n",
+ GC_log_printf("Adding block map for size of %u granules (%u bytes)\n",
(unsigned)granules, (unsigned)(GRANULES_TO_BYTES(granules)));
if (granules == 0) {
for (displ = 0; displ < BYTES_TO_GRANULES(HBLKSIZE); displ++) {