summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-10-16 06:24:33 +0000
committerJim Meyering <jim@meyering.net>2000-10-16 06:24:33 +0000
commit640221896f69c041a49413ef1b41ff844009cd36 (patch)
treea4f53b544bc981674869bb7743226af335950998
parentd73ea5f65a7ac2c00d56837477e93bc70f0d2296 (diff)
downloadcoreutils-640221896f69c041a49413ef1b41ff844009cd36.tar.xz
(hard_locale): Use "", not 0 as 2nd arg to setlocale.
From Jan Fedak.
-rw-r--r--lib/hard-locale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hard-locale.c b/lib/hard-locale.c
index 1c75b390a..8ce6fddc9 100644
--- a/lib/hard-locale.c
+++ b/lib/hard-locale.c
@@ -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)
{