aboutsummaryrefslogtreecommitdiff
path: root/src/bumpptr_alloc_single_tsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bumpptr_alloc_single_tsd.c')
-rw-r--r--src/bumpptr_alloc_single_tsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bumpptr_alloc_single_tsd.c b/src/bumpptr_alloc_single_tsd.c
index 7c51bae..7be5399 100644
--- a/src/bumpptr_alloc_single_tsd.c
+++ b/src/bumpptr_alloc_single_tsd.c
@@ -127,7 +127,7 @@ void* aligned_alloc(size_t alignment, size_t size)
int malloc_stats() {
fprintf(stderr, "Bump pointer allocator by muhq\n");
- fprintf(stderr, "Memsize: %zu, start address: %p, bump pointer %p\n", MEMSIZE, mem_start, ptr);
+ fprintf(stderr, "Memsize: %zu, start address: %p, bump pointer %p\n", MEMSIZE, tsd, tsd->ptr);
return 0;
}