diff options
Diffstat (limited to 'malloc/mtrace.c')
-rw-r--r-- | malloc/mtrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/mtrace.c b/malloc/mtrace.c index 0c8e411..a7f0a90 100644 --- a/malloc/mtrace.c +++ b/malloc/mtrace.c @@ -244,7 +244,7 @@ mtrace () if (mallstream != NULL) { /* Be sure it doesn't malloc its buffer! */ - setvbuf (mallstream, malloc_trace_buffer, TRACE_BUFFER_SIZE); + setbuffer (mallstream, malloc_trace_buffer, TRACE_BUFFER_SIZE); fprintf (mallstream, "= Start\n"); tr_old_free_hook = __free_hook; __free_hook = tr_freehook; |