summaryrefslogtreecommitdiff
path: root/test/probe.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/probe.c')
-rw-r--r--test/probe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/probe.c b/test/probe.c
index 0881240..c7fc053 100644
--- a/test/probe.c
+++ b/test/probe.c
@@ -68,7 +68,7 @@ static int test_probe(struct io_uring *ring)
int ret;
len = sizeof(*p) + 256 * sizeof(struct io_uring_probe_op);
- p = io_uring_calloc(1, len);
+ p = t_calloc(1, len);
ret = io_uring_register_probe(ring, p, 0);
if (ret == -EINVAL) {
fprintf(stdout, "Probe not supported, skipping\n");