summaryrefslogtreecommitdiff
path: root/test/short-read.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/short-read.c')
-rw-r--r--test/short-read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/short-read.c b/test/short-read.c
index c839799..02eee04 100644
--- a/test/short-read.c
+++ b/test/short-read.c
@@ -26,10 +26,10 @@ int main(int argc, char *argv[])
if (argc > 1)
return 0;
- vec.iov_base = io_uring_malloc(BUF_SIZE);
+ vec.iov_base = t_malloc(BUF_SIZE);
vec.iov_len = BUF_SIZE;
- io_uring_create_file(".short-read", FILE_SIZE);
+ t_create_file(".short-read", FILE_SIZE);
fd = open(".short-read", O_RDONLY);
save_errno = errno;