diff --git a/lib/libc/string/strerror.c b/lib/libc/string/strerror.c index 55840f1bae4c..32e35aa9bed7 100644 --- a/lib/libc/string/strerror.c +++ b/lib/libc/string/strerror.c @@ -96,7 +96,7 @@ strerror(num) * supplied buffer, inverting the number string. */ strcpy(ebuf, unknown_prefix); - for (p = ebuf + sizeof unknown_prefix - 1; t >= tmp; ) + for (p = ebuf + sizeof unknown_prefix - 1; t > tmp; ) *p++ = *--t; *p = '\0'; return (ebuf);