summaryrefslogtreecommitdiff
path: root/libc/string/strsep.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/strsep.c')
-rw-r--r--libc/string/strsep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/strsep.c b/libc/string/strsep.c
index 21aa1bb58..703fe5c69 100644
--- a/libc/string/strsep.c
+++ b/libc/string/strsep.c
@@ -27,7 +27,7 @@ char *delim;
if (!(p = *pp))
return 0;
- if (q = strpbrk (p, delim))
+ if ((q = strpbrk (p, delim)))
{
*pp = q + 1;
*q = '\0';