[newlib-cygwin] strerror_l: Fix copy-and-paste typo
Eric Blake
ericb@sourceware.org
Tue Aug 23 19:36:00 GMT 2016
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=ec0117b6e12a6c918e9e359dc31373e236f8f6e3
commit ec0117b6e12a6c918e9e359dc31373e236f8f6e3
Author: Eric Blake <eblake@redhat.com>
Date: Tue Aug 23 14:36:06 2016 -0500
strerror_l: Fix copy-and-paste typo
Signed-off-by: Eric Blake <eblake@redhat.com>
Diff:
---
newlib/libc/string/strerror.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/newlib/libc/string/strerror.c b/newlib/libc/string/strerror.c
index 49e5f7e..5af4f95 100644
--- a/newlib/libc/string/strerror.c
+++ b/newlib/libc/string/strerror.c
@@ -33,7 +33,7 @@ string. The value of <[errnum]> is usually a copy of <<errno>>.
If <<errnum>> is not a known error number, the result points to an
empty string.
-<<strftime_l>> is like <<strftime>> but creates a string in a format
+<<strerror_l>> is like <<strerror>> but creates a string in a format
as expected in locale <[locale]>. If <[locale]> is LC_GLOBAL_LOCALE or
not a valid locale object, the behaviour is undefined.
More information about the Newlib-cvs
mailing list