[hackers] [scc] [libc] Fix 96412d commit || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Sun, 5 Mar 2017 19:55:46 +0100 (CET)

commit 47102e73f6133bbfe2c3db7ab442c0425f5e09c3
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Sun Mar 5 19:40:57 2017 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Sun Mar 5 19:55:29 2017 +0100

    [libc] Fix 96412d commit

diff --git a/libc/include/stdio.h b/libc/include/stdio.h
index 5aed508..7046d36 100644
--- a/libc/include/stdio.h
+++ b/libc/include/stdio.h
_AT_@ -96,7 +96,7 @@ extern int ferror(FILE *fp);
 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
Received on Sun Mar 05 2017 - 19:55:46 CET

This archive was generated by hypermail 2.3.0 : Sun Mar 05 2017 - 20:00:22 CET