summaryrefslogtreecommitdiff
path: root/rt
diff options
context:
space:
mode:
Diffstat (limited to 'rt')
-rw-r--r--rt/tst-aio64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rt/tst-aio64.c b/rt/tst-aio64.c
index f67485c878..5a47e4d0d2 100644
--- a/rt/tst-aio64.c
+++ b/rt/tst-aio64.c
@@ -52,7 +52,7 @@ do_prepare (int argc, char *argv[])
size_t name_len;
name_len = strlen (test_dir);
- name = malloc (name_len + sizeof ("/aioXXXXXX"));
+ name = xmalloc (name_len + sizeof ("/aioXXXXXX"));
mempcpy (mempcpy (name, test_dir, name_len),
"/aioXXXXXX", sizeof ("/aioXXXXXX"));