summaryrefslogtreecommitdiff
path: root/test/link_drain.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/link_drain.c')
-rw-r--r--test/link_drain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/link_drain.c b/test/link_drain.c
index 45b1469..a50fe88 100644
--- a/test/link_drain.c
+++ b/test/link_drain.c
@@ -29,7 +29,7 @@ static int test_link_drain_one(struct io_uring *ring)
return 1;
}
- iovecs.iov_base = io_uring_malloc(4096);
+ iovecs.iov_base = t_malloc(4096);
iovecs.iov_len = 4096;
for (i = 0; i < 5; i++) {
@@ -112,7 +112,7 @@ int test_link_drain_multi(struct io_uring *ring)
return 1;
}
- iovecs.iov_base = io_uring_malloc(4096);
+ iovecs.iov_base = t_malloc(4096);
iovecs.iov_len = 4096;
for (i = 0; i < 9; i++) {