summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2012-03-14 15:30:59 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2012-03-14 15:30:59 +0000
commita9e7383c181cc03b018acbb9fa21eedaf8a787b1 (patch)
tree8754ece6d36658287362a8231ebf7337ab53fc59
parent5cd69373309bbfd8b3d917b742566c6ed2a7baed (diff)
Notes
-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 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);
}