summaryrefslogtreecommitdiff
path: root/test/d4ae271dfaae-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/d4ae271dfaae-test.c')
-rw-r--r--test/d4ae271dfaae-test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/d4ae271dfaae-test.c b/test/d4ae271dfaae-test.c
index b4c48fc..3b69482 100644
--- a/test/d4ae271dfaae-test.c
+++ b/test/d4ae271dfaae-test.c
@@ -78,8 +78,7 @@ int main(int argc, char *argv[])
iovecs = calloc(10, sizeof(struct iovec));
for (i = 0; i < 10; i++) {
- if (posix_memalign(&buf, 4096, 4096))
- goto out;
+ io_uring_posix_memalign(&buf, 4096, 4096);
iovecs[i].iov_base = buf;
iovecs[i].iov_len = 4096;
}