ref: d278581748408090b5f80c955a256264b3a9dd69
parent: 0c28f70ffebef1de8db8339c56487f8dfe6a9e58
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sat Sep 1 13:09:19 EDT 2018
[lib/c] Fix putchar() Writing in stdin is not a good idea.
--- a/lib/c/putchar.c
+++ b/lib/c/putchar.c
@@ -5,5 +5,5 @@
int
putchar(int ch)
{
- return putc(ch, stdin);
+ return putc(ch, stdout);
}