* locale/programs/locale.c (main): Fix typo in last patch.
This commit is contained in:
Ulrich Drepper 2003-05-22 00:41:32 +00:00
parent 6d1d0720b1
commit 84c9409e9c
2 changed files with 3 additions and 1 deletions

View File

@ -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.

View File

@ -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