summaryrefslogtreecommitdiffstats
path: root/test/thread_tcache_enabled.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/thread_tcache_enabled.c')
-rw-r--r--test/thread_tcache_enabled.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/thread_tcache_enabled.c b/test/thread_tcache_enabled.c
index 0a3e45a..59b76a2 100644
--- a/test/thread_tcache_enabled.c
+++ b/test/thread_tcache_enabled.c
@@ -79,13 +79,13 @@ main(void)
int ret = 0;
pthread_t thread;
- fprintf(stderr, "Test begin\n");
+ malloc_printf("Test begin\n");
thread_start(NULL);
if (pthread_create(&thread, NULL, thread_start, NULL)
!= 0) {
- fprintf(stderr, "%s(): Error in pthread_create()\n", __func__);
+ malloc_printf("%s(): Error in pthread_create()\n", __func__);
ret = 1;
goto label_return;
}
@@ -95,7 +95,7 @@ main(void)
if (pthread_create(&thread, NULL, thread_start, NULL)
!= 0) {
- fprintf(stderr, "%s(): Error in pthread_create()\n", __func__);
+ malloc_printf("%s(): Error in pthread_create()\n", __func__);
ret = 1;
goto label_return;
}
@@ -104,6 +104,6 @@ main(void)
thread_start(NULL);
label_return:
- fprintf(stderr, "Test end\n");
+ malloc_printf("Test end\n");
return (ret);
}