diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2012-03-14 15:30:59 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2012-03-14 15:30:59 +0000 |
commit | a9e7383c181cc03b018acbb9fa21eedaf8a787b1 (patch) | |
tree | 8754ece6d36658287362a8231ebf7337ab53fc59 | |
parent | 5cd69373309bbfd8b3d917b742566c6ed2a7baed (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 57d253db46115..bfca871ad31ad 100644 --- a/lib/libc/string/strerror.c +++ b/lib/libc/string/strerror.c @@ -121,6 +121,6 @@ strerror(int num) static char ebuf[NL_TEXTMAX]; if (strerror_r(num, ebuf, sizeof(ebuf)) != 0) - errno = EINVAL; + errno = EINVAL; return (ebuf); } |