summaryrefslogtreecommitdiffstats
path: root/newlib/libc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2010-02-25 16:16:16 +0000
committerCorinna Vinschen <corinna@vinschen.de>2010-02-25 16:16:16 +0000
commit7c3c3fea6d91b85b76281ad398e9aba1f2f2c92a (patch)
tree798b1e21290ce41d14dc2060af2f9c15b6491d92 /newlib/libc
parent830686ec0bcd1dc10eb7ca2701bb26395900ea1b (diff)
downloadcygnal-7c3c3fea6d91b85b76281ad398e9aba1f2f2c92a.tar.gz
cygnal-7c3c3fea6d91b85b76281ad398e9aba1f2f2c92a.tar.bz2
cygnal-7c3c3fea6d91b85b76281ad398e9aba1f2f2c92a.zip
* libc/locale/locale.c (loadlocale): Fix typo in comment.
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/locale/locale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c
index cc59df8e3..7e28511f8 100644
--- a/newlib/libc/locale/locale.c
+++ b/newlib/libc/locale/locale.c
@@ -464,7 +464,7 @@ loadlocale(struct _reent *p, int category)
and their replacement locale. For instance, the alias "french" is
translated to "fr_FR.ISO-8859-1", the alias "thai" is translated to
"th_TH.TIS-620". If successful, the function returns with a pointer
- to the second argument, which is a buffer in which the reaplcement locale
+ to the second argument, which is a buffer in which the replacement locale
gets stored. Otherwise the function returns NULL. */
char tmp_locale[ENCODING_LEN + 1];
int ret = 0;