shithub: scc

Download patch

ref: 0c5f7ed72475e2aef74aa672bab0d3a39dee2ecb
parent: 848e5ed619c6e3c58f3b4f5c12beace6c8fd4209
author: sin <[email protected]>
date: Wed May 23 11:09:29 EDT 2018

Fix puts() implementation

--- a/lib/c/puts.c
+++ b/lib/c/puts.c
@@ -6,7 +6,7 @@
 {
 	int ch;
 
-	while (ch = *str)
+	while (ch = *str++)
 		putchar(ch);
 	return putchar('\n');
 }