X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Ffs-handle.c;h=46d9d7de5d322f2f82940c72c8eef2619b40e0ad;hp=ff081235cb8d6d2c3ecebf505963ec02fcf9d40d;hb=3e778ab02ef13b55c0be8f752e126eee55e0956b;hpb=dec2c8e12255d3533664cba9042f0d051c4207ac diff --git a/src/common/fs-handle.c b/src/common/fs-handle.c index ff081235c..46d9d7de5 100644 --- a/src/common/fs-handle.c +++ b/src/common/fs-handle.c @@ -70,7 +70,7 @@ end: LTTNG_HIDDEN int fs_handle_truncate(struct fs_handle *handle, off_t offset) { - int ret; + int ret; const int fd = fs_handle_get_fd(handle); if (fd < 0) { @@ -85,9 +85,9 @@ end: } LTTNG_HIDDEN -int fs_handle_seek(struct fs_handle *handle, off_t offset, int whence) +off_t fs_handle_seek(struct fs_handle *handle, off_t offset, int whence) { - int ret; + off_t ret; const int fd = fs_handle_get_fd(handle); if (fd < 0) {