diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2001-07-27 09:32:43 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2001-07-27 09:32:43 +0000 |
commit | 8da8d9385eeb5c90a00c2def8dc21356d0f2fc4d (patch) | |
tree | a43aa0435bf3434470aeb23ca38242d4ef3d077f /lib/xmalloc.c | |
parent | 5b79d339d057f21574546e56bc3e2e871b91822c (diff) | |
download | mailutils-8da8d9385eeb5c90a00c2def8dc21356d0f2fc4d.tar.gz mailutils-8da8d9385eeb5c90a00c2def8dc21356d0f2fc4d.tar.bz2 |
call mu_error() instead of error().
Diffstat (limited to 'lib/xmalloc.c')
-rw-r--r-- | lib/xmalloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/xmalloc.c b/lib/xmalloc.c index 8206a9473..165db1fc8 100644 --- a/lib/xmalloc.c +++ b/lib/xmalloc.c @@ -70,11 +70,11 @@ xalloc_die (void) { if (xalloc_fail_func) (*xalloc_fail_func) (); - error (xalloc_exit_failure, 0, "%s", _(xalloc_msg_memory_exhausted)); + mu_error ("%s", _(xalloc_msg_memory_exhausted)); /* The `noreturn' cannot be given to error, since it may return if its first argument is 0. To help compilers understand the xalloc_die does terminate, call exit. */ - exit (EXIT_FAILURE); + exit (xalloc_exit_failure); } /* Allocate N bytes of memory dynamically, with error checking. */ |