Browse Source

reword the malloc failure message

pull/4753/head
Martin Kroeker GitHub 1 year ago
parent
commit
468d99326c
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      utest/test_post_fork.c

+ 1
- 1
utest/test_post_fork.c View File

@@ -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;


Loading…
Cancel
Save