X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Findex%2Findex.h;h=4ffc526598e11d6b65b1b00516d63d0cd2065866;hb=3d229795de7f38cce87d6d5ea76ef413dbb71f1d;hp=58f2ac70add96ac8eb5be5195bff1773683c8a2c;hpb=309167d2a6f59d0c8cbf64eb23ba912cdea76a34;p=lttng-tools.git diff --git a/src/common/index/index.h b/src/common/index/index.h index 58f2ac70a..4ffc52659 100644 --- a/src/common/index/index.h +++ b/src/common/index/index.h @@ -25,6 +25,6 @@ int index_create_file(char *path_name, char *stream_name, int uid, int gid, uint64_t size, uint64_t count); -int index_write(int fd, struct lttng_packet_index *index, size_t len); +ssize_t index_write(int fd, struct lttng_packet_index *index, size_t len); #endif /* _INDEX_H */