about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-05-29 20:26:04 -0400
committerUlrich Drepper <drepper@gmail.com>2011-05-29 20:26:04 -0400
commit13f1ab36a4c3451b1c0287cc404dbfe927c8eced (patch)
tree8a5ec13e21e13dd4f6e23fe9f88ceed231a8b7dc
parent80e2212d8e59933a1641f029ebd360526ff0e074 (diff)
downloadglibc-13f1ab36a4c3451b1c0287cc404dbfe927c8eced.tar.gz
glibc-13f1ab36a4c3451b1c0287cc404dbfe927c8eced.tar.xz
glibc-13f1ab36a4c3451b1c0287cc404dbfe927c8eced.zip
Fix typo in last patch to locarchive.c
-rw-r--r--ChangeLog3
-rw-r--r--locale/programs/locarchive.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f08c238f2e..efa978eb26 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
 
+	* locale/programs/locarchive.c (add_locale_to_archive): Fix typo
+	in last patch.
+
 	[BZ #11799]
 	* sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
 	SI_USER in the comment.
diff --git a/locale/programs/locarchive.c b/locale/programs/locarchive.c
index e95bcf1a14..943bc5a6de 100644
--- a/locale/programs/locarchive.c
+++ b/locale/programs/locarchive.c
@@ -1210,7 +1210,7 @@ add_locale_to_archive (ah, name, data, replace)
 						     &rhs_territory,
 						     &rhs_codeset,
 						     &rhs_normalized_codeset);
-		    if (rhs_mask == 1)
+		    if (rhs_mask == -1)
 		      {
 			result = -1;
 			goto out;