summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nolocale.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nolocale.h b/src/nolocale.h
index 3d8d50d..18ae03f 100644
--- a/src/nolocale.h
+++ b/src/nolocale.h
@@ -104,7 +104,7 @@ static inline int snprintf_nol(char *str, size_t size, const char *format, ...)
va_list vl;
va_start(vl, format);
- ret = vsnprintf(str, size, format, vl, l);
+ ret = vsnprintf_l(str, size, format, vl, l);
va_end(vl);
_free_locale(l);