aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 f08c238..efa978e 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 e95bcf1..943bc5a 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;