Drop 'linux/file.h' wrapper
[lttng-modules.git] / src / lttng-syscalls.c
index 9cd11ea6e9b8394f77354be40cc320dd9e230a92..d93df2e1306e00ca0e60c3504177e7254b1a692e 100644 (file)
@@ -25,7 +25,6 @@
 
 #include <lttng/bitfield.h>
 #include <wrapper/tracepoint.h>
-#include <wrapper/file.h>
 #include <wrapper/rcu.h>
 #include <wrapper/syscall.h>
 #include <wrapper/limits.h>
@@ -1297,7 +1296,7 @@ int lttng_abi_syscall_list(void)
        struct file *syscall_list_file;
        int file_fd, ret;
 
-       file_fd = lttng_get_unused_fd();
+       file_fd = get_unused_fd_flags(0);
        if (file_fd < 0) {
                ret = file_fd;
                goto fd_error;
This page took 0.022988 seconds and 4 git commands to generate.