aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/string/strerror.c2
1 files changed, 1 insertions, 1 deletions
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);