diff options
Diffstat (limited to 'src/locale/strfmon.c')
-rw-r--r-- | src/locale/strfmon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/locale/strfmon.c b/src/locale/strfmon.c index e25db972..7cf2136a 100644 --- a/src/locale/strfmon.c +++ b/src/locale/strfmon.c @@ -3,6 +3,7 @@ #include <stdarg.h> #include <monetary.h> #include <errno.h> +#include "locale_impl.h" static ssize_t vstrfmon_l(char *s, size_t n, locale_t loc, const char *fmt, va_list ap) { @@ -93,7 +94,7 @@ ssize_t strfmon(char *restrict s, size_t n, const char *restrict fmt, ...) ssize_t ret; va_start(ap, fmt); - ret = vstrfmon_l(s, n, 0, fmt, ap); + ret = vstrfmon_l(s, n, CURRENT_LOCALE, fmt, ap); va_end(ap); return ret; |