diff options
Diffstat (limited to 'locale/programs/locale.c')
-rw-r--r-- | locale/programs/locale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/locale.c b/locale/programs/locale.c index 49ed7a2..ec37d48 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 |