summaryrefslogtreecommitdiffstats
path: root/libc/string/strstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/strstr.c')
-rw-r--r--libc/string/strstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/strstr.c b/libc/string/strstr.c
index debe96c..95a865b 100644
--- a/libc/string/strstr.c
+++ b/libc/string/strstr.c
@@ -51,6 +51,6 @@ strstr(const char *s, const char *find)
} while (sc != c);
} while (strncmp(s, find, len) != 0);
s--;
- }
+ }
return ((char *)s);
}