From 9acd74024b24902d965cb297fc97809f31d4263e Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 14 Jun 2024 18:05:31 +0200 Subject: [PATCH] Update test_fork.c --- utest/test_fork.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utest/test_fork.c b/utest/test_fork.c index 3d4faa9b1..44a619349 100644 --- a/utest/test_fork.c +++ b/utest/test_fork.c @@ -42,7 +42,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 testcase.\n"); exit(1); } else { return tmp; @@ -104,7 +104,7 @@ exit(0); fork_pid = fork(); if (fork_pid == -1) { - perror(fork"); + perror("fork"); CTEST_ERR("Failed to fork process."); } else if (fork_pid == 0) { // Compute a DGEMM product in the child process to check that the