aboutsummaryrefslogtreecommitdiffstats
path: root/xmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'xmalloc.c')
-rw-r--r--xmalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmalloc.c b/xmalloc.c
index 6d63cde8..f967b8e5 100644
--- a/xmalloc.c
+++ b/xmalloc.c
@@ -29,7 +29,7 @@ xmalloc (int n)
p = (XMALLOCTYPE *) malloc(n);
if (p == (XMALLOCTYPE *) 0)
{
- report(stderr, errno, _("malloc failed"));
+ report(stderr, errno, _("malloc failed\n"));
exit(PS_UNDEFINED);
}
return(p);
@@ -43,7 +43,7 @@ xrealloc (XMALLOCTYPE *p, int n)
p = (XMALLOCTYPE *) realloc(p, n);
if (p == (XMALLOCTYPE *) 0)
{
- report(stderr, errno, _("realloc failed"));
+ report(stderr, errno, _("realloc failed\n"));
exit(PS_UNDEFINED);
}
return p;