summaryrefslogtreecommitdiff
path: root/locale/programs/locale.c
diff options
context:
space:
mode:
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