X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-syscalls.c;h=748c6002fc4a79ef3d2692bf997ac0820e60cbc2;hb=4ac10b765aed7983d382ed2eeedfb42a45e7fe83;hp=1fc86c8eed5a84502d05b0efd893b052975d06ca;hpb=e6b06d7d6346a5e3cfcdd214d171af067bca0f34;p=lttng-modules.git diff --git a/lttng-syscalls.c b/lttng-syscalls.c index 1fc86c8e..748c6002 100644 --- a/lttng-syscalls.c +++ b/lttng-syscalls.c @@ -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;