From 252277d7506fef610326b17ddbf5d1d42d244e52 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 7 Oct 2000 01:30:30 +0000 Subject: Warning cleanup --- libc/stdlib/malloc/alloc.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libc/stdlib/malloc/alloc.c b/libc/stdlib/malloc/alloc.c index 5e508f9c1..f981906e0 100644 --- a/libc/stdlib/malloc/alloc.c +++ b/libc/stdlib/malloc/alloc.c @@ -1,7 +1,8 @@ -#include -#include #include #include +#include +#include +#include struct chunkControl { size_t nodeCount; @@ -33,7 +34,7 @@ calloc_dbg(size_t num, size_t size, char * function, char * file, int line) void * ptr; fprintf(stderr, "calloc of %d bytes at %s @%s:%d = ", num*size, function, file, line); ptr = calloc(num,size); - fprtinf(stderr, "%p\n", ptr); + fprintf(stderr, "%p\n", ptr); return ptr; } -- cgit v1.2.3