summary refs log tree commit diff
path: root/misc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-08-21 02:57:38 +0000
committerUlrich Drepper <drepper@redhat.com>2001-08-21 02:57:38 +0000
commit34ef548a3770131a03cf55866caedc8c50793617 (patch)
tree0e630f982564334fbeba4e513d9015db248537cc /misc
parent62ed552b937bc0367df22207d316c14614e94421 (diff)
downloadglibc-34ef548a3770131a03cf55866caedc8c50793617.tar.gz
glibc-34ef548a3770131a03cf55866caedc8c50793617.tar.xz
glibc-34ef548a3770131a03cf55866caedc8c50793617.zip
Update.
2001-08-20  Ulrich Drepper  <drepper@redhat.com>

	* misc/error.c (error_tail): Use fputws_unlocked instead of fputws.
	* misc/err.c (convert_and_print): Likewise.

	* malloc/obstack.c (print_and_abort): Use fprintf instead of two
	function calls.
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 4c372032fa..1e681b399d 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 1c9c4a6850..aa0d8bbea7 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;
 		}
 	    }