diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | locale/programs/locale.c | 2 |
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 |