epoll_create: fail with EINVAL if size is non-positive
[musl] / src / string / strstr.c
index 43a0207..96657bc 100644 (file)
@@ -96,7 +96,7 @@ static char *twoway_strstr(const unsigned char *h, const unsigned char *n)
        for (;;) {
                /* Update incremental end-of-haystack pointer */
                if (z-h < l) {
-                       /* Fast estimate for MIN(l,63) */
+                       /* Fast estimate for MAX(l,63) */
                        size_t grow = l | 63;
                        const unsigned char *z2 = memchr(z, 0, grow);
                        if (z2) {