diff --git a/src/libc/stdio/printf/print.c b/src/libc/stdio/printf/print.c index 5097bcd..4744ca5 100644 --- a/src/libc/stdio/printf/print.c +++ b/src/libc/stdio/printf/print.c @@ -2,6 +2,7 @@ #include #include #include +#include #include /* Internal buffer, used when no buffer is specified for output */ @@ -111,7 +112,7 @@ void __printf_flush(struct __printf_output *out) /* File pointer: output with write */ else if(out->fd) { - // write(fd, out->buffer, out->ptr - out->buffer); + write(out->fd, out->buffer, out->ptr - out->buffer); } /* Switch to the internal buffer (when writing to a string that string