Fix: introduce lttng_get_unused_fd() wrapper for 3.19 kernels
[lttng-modules.git] / lttng-syscalls.c
index 1fc86c8eed5a84502d05b0efd893b052975d06ca..748c6002fc4a79ef3d2692bf997ac0820e60cbc2 100644 (file)
@@ -36,6 +36,7 @@
 
 #include "lib/bitfield.h"
 #include "wrapper/tracepoint.h"
+#include "wrapper/file.h"
 #include "lttng-events.h"
 
 #ifndef CONFIG_COMPAT
@@ -1269,7 +1270,7 @@ int lttng_abi_syscall_list(void)
        struct file *syscall_list_file;
        int file_fd, ret;
 
-       file_fd = get_unused_fd();
+       file_fd = lttng_get_unused_fd();
        if (file_fd < 0) {
                ret = file_fd;
                goto fd_error;
This page took 0.023115 seconds and 4 git commands to generate.