aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/err.c2
-rw-r--r--misc/error.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/misc/err.c b/misc/err.c
index 4c37203..1e681b3 100644
--- a/misc/err.c
+++ b/misc/err.c
@@ -69,7 +69,7 @@ convert_and_print (const char *format, __gnuc_va_list ap)
if (wformat == NULL)
{
- fputws (L"out of memory\n", stderr);
+ fputws_unlocked (L"out of memory\n", stderr);
return;
}
}
diff --git a/misc/error.c b/misc/error.c
index 1c9c4a6..aa0d8bb 100644
--- a/misc/error.c
+++ b/misc/error.c
@@ -151,7 +151,7 @@ error_tail (int status, int errnum, const char *message, va_list args)
if (wmessage == NULL)
{
- fputws (L"out of memory\n", stderr);
+ fputws_unlocked (L"out of memory\n", stderr);
return;
}
}