aboutsummaryrefslogtreecommitdiff
path: root/malloc/obstack.c
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 /malloc/obstack.c
parent62ed552b937bc0367df22207d316c14614e94421 (diff)
downloadglibc-34ef548a3770131a03cf55866caedc8c50793617.zip
glibc-34ef548a3770131a03cf55866caedc8c50793617.tar.gz
glibc-34ef548a3770131a03cf55866caedc8c50793617.tar.bz2
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 'malloc/obstack.c')
-rw-r--r--malloc/obstack.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/malloc/obstack.c b/malloc/obstack.c
index e5c0c40..06b2fbd 100644
--- a/malloc/obstack.c
+++ b/malloc/obstack.c
@@ -489,10 +489,7 @@ print_and_abort ()
__fwprintf (stderr, L"%s\n", _("memory exhausted"));
else
#endif
- {
- fputs (_("memory exhausted"), stderr);
- fputc ('\n', stderr);
- }
+ fprintf (stderr, "%s\n", _("memory exhausted"));
exit (obstack_exit_failure);
}