commit 7f203d3b2cc9ff58e7ce25cd9b96c3410b4dfc0d parent a16ab97fceed9531229af973a5bf5eb8377e0d31 Author: sin <sin@2f30.org> Date: Wed, 23 May 2018 15:09:29 +0100 Fix puts() implementation Diffstat:
M | lib/c/puts.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/c/puts.c b/lib/c/puts.c @@ -6,7 +6,7 @@ puts(const char *str) { int ch; - while (ch = *str) + while (ch = *str++) putchar(ch); return putchar('\n'); }