ref: c8e83b592e5195397337ceef26a9c51fbef31dfc
parent: 18b754a08712e885e6bc067fe7fb8ec71c276ed4
author: Roberto E. Vargas Caballero <[email protected]>
date: Sun Mar 5 14:40:57 EST 2017
[libc] Fix 96412d commit
--- a/libc/include/stdio.h
+++ b/libc/include/stdio.h
@@ -96,7 +96,7 @@
extern void perror(const char *s);
#ifdef __USE_MACROS
-#define printf(fmt, ...) fprintf(stdin, fmt, __VA_ARGS__)
+#define printf(...) fprintf(stdout, __VA_ARGS__)
#endif
#endif