Fix: pass proper args when writing commit counter
[lttng-ust.git] / libringbuffer / frontend_api.h
index f25ff0781930f72c050992573d061e7aa42c6e6b..56dbef2aa4326c8a4067ecc96ada66b887358afd 100644 (file)
@@ -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);
 }
 
 /**
This page took 0.022668 seconds and 4 git commands to generate.