ref: 10784c7106b0538ad853c421daf33c0d6597ff5d
parent: a1d3f868bb87c80eb1defda679142d0c3b59b23c
author: mkf <mkf@cloud9p.org>
date: Sun May 26 20:46:33 EDT 2024
fix build
--- a/libc/strchr.c
+++ b/libc/strchr.c
@@ -6,7 +6,7 @@
{
char *new = strdup(s);
while(*new != c || *new != '\0')
- new++
+ new++;
if(*new == c)
return new;