summaryrefslogtreecommitdiff
path: root/src/wchar/swprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wchar/swprintf.c')
-rw-r--r--src/wchar/swprintf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wchar/swprintf.c b/src/wchar/swprintf.c
index a3aa6c45..6cc546c3 100644
--- a/src/wchar/swprintf.c
+++ b/src/wchar/swprintf.c
@@ -5,6 +5,8 @@
int swprintf(wchar_t * restrict s, size_t n, const wchar_t * restrict format, ...)
{
+ SIGNAL_SAFE(0);
+
va_list ap;
va_start(ap, format);
int ret = vswprintf(s, n, format, ap);