From 468d99326c9596e18e1a23a98209f197ac9e8dfc Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 14 Jun 2024 17:40:08 +0200 Subject: [PATCH] reword the malloc failure message --- utest/test_post_fork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utest/test_post_fork.c b/utest/test_post_fork.c index 2bc8132eb..d6e87f2ba 100644 --- a/utest/test_post_fork.c +++ b/utest/test_post_fork.c @@ -45,7 +45,7 @@ static void* xmalloc(size_t n) void* tmp; tmp = malloc(n); if (tmp == NULL) { - fprintf(stderr, "You are about to die\n"); + fprintf(stderr, "Failed to allocate memory for the test payload.\n"); exit(1); } else { return tmp;