From 7c3c3fea6d91b85b76281ad398e9aba1f2f2c92a Mon Sep 17 00:00:00 2001
From: Corinna Vinschen <corinna@vinschen.de>
Date: Thu, 25 Feb 2010 16:16:16 +0000
Subject: [PATCH] 	* libc/locale/locale.c (loadlocale): Fix typo in
 comment.

---
 newlib/ChangeLog            | 6 +++++-
 newlib/libc/locale/locale.c | 2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 8f47de4d6..486da7e4b 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,6 +1,10 @@
 2010-02-25  Corinna Vinschen  <corinna@vinschen.de>
 
-	* libc/locale/locale.c:  Throughout, extensively comment on the
+	* libc/locale/locale.c (loadlocale): Fix typo in comment.
+
+2010-02-25  Corinna Vinschen  <corinna@vinschen.de>
+
+	* libc/locale/locale.c: Throughout, extensively comment on the
 	reason for using __CYGWIN__.
 	(lconv): Remove _CONST entirely.
 	(loadlocale): Guard calls to function loading locale-specific
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;