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 f722c73b..c2ca4a66 100644
--- a/xmalloc.c
+++ b/xmalloc.c
@@ -31,7 +31,7 @@ xmalloc (size_t n)
if (p == (XMALLOCTYPE *) 0)
{
report(stderr, GT_("malloc failed\n"));
- exit(PS_UNDEFINED);
+ abort();
}
return(p);
}
@@ -45,7 +45,7 @@ xrealloc (XMALLOCTYPE *p, size_t n)
if (p == (XMALLOCTYPE *) 0)
{
report(stderr, GT_("realloc failed\n"));
- exit(PS_UNDEFINED);
+ abort();
}
return p;
}