summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/lnumeric.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/locale/lnumeric.c')
-rw-r--r--lib/libc/locale/lnumeric.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/locale/lnumeric.c b/lib/libc/locale/lnumeric.c
index 7b6e4b3..e74321a 100644
--- a/lib/libc/locale/lnumeric.c
+++ b/lib/libc/locale/lnumeric.c
@@ -54,7 +54,8 @@ __numeric_load_locale(const char *name) {
__nlocale_changed = 1;
ret = __part_load_locale(name, &_numeric_using_locale,
- numeric_locale_buf, "LC_NUMERIC", LCNUMERIC_SIZE,
+ numeric_locale_buf, "LC_NUMERIC",
+ LCNUMERIC_SIZE, LCNUMERIC_SIZE,
(const char **)&_numeric_locale);
if (ret == 0 && _numeric_using_locale)
_numeric_locale.grouping =
OpenPOWER on IntegriCloud