(mtrace): Correct last patch.
authordrepper <drepper>
Fri, 10 Apr 1998 10:58:28 +0000 (10:58 +0000)
committerdrepper <drepper>
Fri, 10 Apr 1998 10:58:28 +0000 (10:58 +0000)
malloc/mtrace.c

index 0c8e411..a7f0a90 100644 (file)
@@ -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;