summaryrefslogtreecommitdiff
path: root/test/libmallocintercept.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/libmallocintercept.c')
-rw-r--r--test/libmallocintercept.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/libmallocintercept.c b/test/libmallocintercept.c
index 0dc5af5..0cf5aeb 100644
--- a/test/libmallocintercept.c
+++ b/test/libmallocintercept.c
@@ -74,8 +74,7 @@ void *malloc(size_t size) {
}
void free(void *ptr) {
- void *ptr2 = ptr + 1;
- print_msg("Called free() from libmallocintercept...");
+ print_msg("Called free() on %p from libmallocintercept...", ptr);
poke_faketime();
print_msg("successfully\n");