Fix typo in last patch to locarchive.c
authorUlrich Drepper <drepper@gmail.com>
Mon, 30 May 2011 00:26:04 +0000 (20:26 -0400)
committerUlrich Drepper <drepper@gmail.com>
Mon, 30 May 2011 00:26:04 +0000 (20:26 -0400)
ChangeLog
locale/programs/locarchive.c

index f08c238..efa978e 100644 (file)
--- 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.
index e95bcf1..943bc5a 100644 (file)
@@ -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;