fix dup3 ignoring all flags but O_CLOEXEC on archs with SYS_dup2 syscall
[musl] / src / stdio / putchar.c
index 945636d..f044f16 100644 (file)
@@ -1,6 +1,7 @@
 #include <stdio.h>
+#include "putc.h"
 
 int putchar(int c)
 {
-       return fputc(c, stdout);
+       return do_putc(c, stdout);
 }