summaryrefslogtreecommitdiff
path: root/rt/tst-aio.c
diff options
context:
space:
mode:
Diffstat (limited to 'rt/tst-aio.c')
-rw-r--r--rt/tst-aio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rt/tst-aio.c b/rt/tst-aio.c
index 9ca377546f..1ad9c606ef 100644
--- a/rt/tst-aio.c
+++ b/rt/tst-aio.c
@@ -51,7 +51,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"));