X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Findex%2Findex.h;h=4ffc526598e11d6b65b1b00516d63d0cd2065866;hp=58f2ac70add96ac8eb5be5195bff1773683c8a2c;hb=6cd525e813795a1d5e38feac8dedf2c73ffb1274;hpb=33b141366b29aa086ecb8d06808d7ba91f83cb1e 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 */