summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ring-leak.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ring-leak.c b/test/ring-leak.c
index d2fcba0..99466e4 100644
--- a/test/ring-leak.c
+++ b/test/ring-leak.c
@@ -23,7 +23,7 @@
#include "../src/liburing.h"
-static int io_uring_register_files(int ring_fd, int fd1, int fd2)
+static int __io_uring_register_files(int ring_fd, int fd1, int fd2)
{
__s32 fds[2] = { fd1, fd2 };
@@ -84,7 +84,7 @@ int main(int argc, char *argv[])
if (ring_fd < 0)
return 1;
- ret = io_uring_register_files(ring_fd, sp[0], sp[1]);
+ ret = __io_uring_register_files(ring_fd, sp[0], sp[1]);
if (ret < 0) {
perror("register files");
return 1;