summaryrefslogtreecommitdiff
path: root/test/thread-exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/thread-exit.c')
-rw-r--r--test/thread-exit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/thread-exit.c b/test/thread-exit.c
index dc9bfaf..c2f2148 100644
--- a/test/thread-exit.c
+++ b/test/thread-exit.c
@@ -35,7 +35,7 @@ static void *do_io(void *data)
char *buffer;
int ret;
- buffer = io_uring_malloc(WSIZE);
+ buffer = t_malloc(WSIZE);
memset(buffer, 0x5a, WSIZE);
sqe = io_uring_get_sqe(d->ring);
if (!sqe) {
@@ -89,7 +89,7 @@ int main(int argc, char *argv[])
}
if (do_unlink)
- io_uring_create_file(fname, 4096);
+ t_create_file(fname, 4096);
fd = open(fname, O_WRONLY);
if (fd < 0) {