summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-05-22 00:41:32 +0000
committerUlrich Drepper <drepper@redhat.com>2003-05-22 00:41:32 +0000
commit84c9409e9c038a79d993da5fb30e6dcf162796bf (patch)
tree883435f51417430dbeeea527d2e384d8c8927d26
parent6d1d0720b1b9172bc29a6bce9e2ea5577df4796c (diff)
Update.
* locale/programs/locale.c (main): Fix typo in last patch.
-rw-r--r--ChangeLog2
-rw-r--r--locale/programs/locale.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d43048a1df..f8e829fd30 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2003-05-21 Ulrich Drepper <drepper@redhat.com>
+ * locale/programs/locale.c (main): Fix typo in last patch.
+
* csu/elf-init.c: Mark __preinit_array_start, __preinit_array_end,
__init_array_start, __init_array_end, __fini_array_start, and
__fini_array_end as hidden.
diff --git a/locale/programs/locale.c b/locale/programs/locale.c
index 49ed7a2b5b..ec37d4871c 100644
--- a/locale/programs/locale.c
+++ b/locale/programs/locale.c
@@ -222,7 +222,7 @@ main (int argc, char *argv[])
/* Specific information about the current locale are requested.
Change to this locale now. */
- if (setlocale (LC_ALL, "") = NULL)
+ if (setlocale (LC_ALL, "") == NULL)
error (0, errno, gettext ("Cannot set LC_ALL to default locale"));
/* If no real argument is given we have to print the contents of the