about summary refs log tree commit diff
path: root/locale/programs/locale.c
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 /locale/programs/locale.c
parent6d1d0720b1b9172bc29a6bce9e2ea5577df4796c (diff)
downloadglibc-84c9409e9c038a79d993da5fb30e6dcf162796bf.tar.gz
glibc-84c9409e9c038a79d993da5fb30e6dcf162796bf.tar.xz
glibc-84c9409e9c038a79d993da5fb30e6dcf162796bf.zip
Update.
	* locale/programs/locale.c (main): Fix typo in last patch.
Diffstat (limited to 'locale/programs/locale.c')
-rw-r--r--locale/programs/locale.c2
1 files changed, 1 insertions, 1 deletions
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