From 9f44fb0e64e68c304d71c1cc21ddb1de7772c1c4 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 4 Jun 2019 20:35:44 -0600 Subject: Add basic helpers for file/buffer registration Signed-off-by: Jens Axboe --- test/ring-leak.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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; -- cgit