X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fcompat-fcntl.cpp;h=18b6fa3824cb87f672ed5eda8545149f236c6f09;hb=57fd993799a2b081c826f6fc8def32d28d526bfb;hp=13ba512b8884699d325d90aad36e22e1d9c41c70;hpb=c9e313bc594f40a86eed237dce222c0fc99c957f;p=lttng-tools.git diff --git a/src/common/compat/compat-fcntl.cpp b/src/common/compat/compat-fcntl.cpp index 13ba512b8..18b6fa382 100644 --- a/src/common/compat/compat-fcntl.cpp +++ b/src/common/compat/compat-fcntl.cpp @@ -8,12 +8,12 @@ #define _LGPL_SOURCE #include #include + #include #ifdef __linux__ -int compat_sync_file_range(int fd, off64_t offset, off64_t nbytes, - unsigned int flags) +int compat_sync_file_range(int fd, off_t offset, off_t nbytes, unsigned int flags) { #ifdef HAVE_SYNC_FILE_RANGE return sync_file_range(fd, offset, nbytes, flags);