X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=libringbuffer%2Ffrontend_api.h;h=56dbef2aa4326c8a4067ecc96ada66b887358afd;hb=80249235cb6560c6bb915f1cd486aa5017f87456;hp=f25ff0781930f72c050992573d061e7aa42c6e6b;hpb=a44c74d96a15230cec7c09c770bf7fc745f0df15;p=lttng-ust.git diff --git a/libringbuffer/frontend_api.h b/libringbuffer/frontend_api.h index f25ff078..56dbef2a 100644 --- a/libringbuffer/frontend_api.h +++ b/libringbuffer/frontend_api.h @@ -294,8 +294,7 @@ void lib_ring_buffer_commit(const struct lttng_ust_lib_ring_buffer_config *confi * ring_buffer buffers from vmcore, after crash. */ lib_ring_buffer_write_commit_counter(config, buf, chan, endidx, - ctx->buf_offset, commit_count, - ctx->slot_size, handle); + offset_end, commit_count, handle); } /**