summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libguile/i18n.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/i18n.c b/libguile/i18n.c
index 82e8b2a63..c0deb98d4 100644
--- a/libguile/i18n.c
+++ b/libguile/i18n.c
@@ -508,7 +508,7 @@ get_current_locale (SCM *result)
current_locale = setlocale (LC_ALL, NULL);
if (current_locale != NULL)
- c_locale->locale_name = scm_gc_strdup (current_locale);
+ c_locale->locale_name = scm_gc_strdup (current_locale, "locale");
else
err = EINVAL;