(hard_locale): Use "", not 0 as 2nd arg to setlocale.
[gnulib.git] / lib / hard-locale.c
index 1c75b39..8ce6fdd 100644 (file)
@@ -56,7 +56,7 @@ hard_locale (int category)
 #else
 
   int hard = 1;
-  char const *p = setlocale (category, 0);
+  char const *p = setlocale (category, "");
 
   if (p)
     {