diff options
author | Jonathan Mini <mini@FreeBSD.org> | 2002-07-03 06:28:04 +0000 |
---|---|---|
committer | Jonathan Mini <mini@FreeBSD.org> | 2002-07-03 06:28:04 +0000 |
commit | 16f33a4885b66316c9b58afd72fd9bddda29e82e (patch) | |
tree | 4c3a46953ee6e1c29d700f4bc26dd453944525cf | |
parent | 93c163325e61ab70d00079218a3c084fe5e246eb (diff) |
Notes
-rw-r--r-- | lib/libc/string/strerror.c | 2 |
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); |