about summary refs log tree commit diff
path: root/malloc
diff options
context:
space:
mode:
Diffstat (limited to 'malloc')
-rw-r--r--malloc/obstack.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/malloc/obstack.c b/malloc/obstack.c
index e5c0c40de4..06b2fbd534 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);
 }