X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.c;h=4b657f33249f7a4f777b7b3ff784b379b15f5878;hp=f5bc5c58aa8506f27b8dffc37a02172223222e54;hb=6a00837f8cb0431a2ad90974d67fae138ea97dd5;hpb=5ab669088a63bfc0a138ad8418cea17a58789281 diff --git a/src/common/consumer.c b/src/common/consumer.c index f5bc5c58a..4b657f332 100644 --- a/src/common/consumer.c +++ b/src/common/consumer.c @@ -2207,7 +2207,7 @@ restart: pipe_len = lttng_pipe_read(ctx->consumer_metadata_pipe, &stream, sizeof(stream)); if (pipe_len < 0) { - ERR("read metadata stream, ret: %ld", pipe_len); + ERR("read metadata stream, ret: %zd", pipe_len); /* * Continue here to handle the rest of the streams. */ @@ -2422,7 +2422,7 @@ void *consumer_thread_data_poll(void *data) pipe_readlen = lttng_pipe_read(ctx->consumer_data_pipe, &new_stream, sizeof(new_stream)); if (pipe_readlen < 0) { - ERR("Consumer data pipe ret %ld", pipe_readlen); + ERR("Consumer data pipe ret %zd", pipe_readlen); /* Continue so we can at least handle the current stream(s). */ continue; }