summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sort.c b/src/sort.c
index b68b136ce..b2425850e 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -2514,7 +2514,7 @@ main (int argc, char **argv)
temp_file_prefix = DEFAULT_TMPDIR;
/* Change the way xmalloc and xrealloc fail. */
- xmalloc_exit_failure = SORT_FAILURE;
+ xalloc_exit_failure = SORT_FAILURE;
xalloc_fail_func = cleanup;
#ifdef SA_INTERRUPT