X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-ring-buffer-client.h;fp=liblttng-ust%2Flttng-ring-buffer-client.h;h=dc3dd88f4260b7b2545e254de8c180efcb328e5c;hb=f37bd90482562c086af4070caf1f218c832f5007;hp=fb7ba25521fce4eddb5519629218b738b651fd3a;hpb=8acb8bdfec7f1827ca762900e0fcbaa8f187742f;p=lttng-ust.git diff --git a/liblttng-ust/lttng-ring-buffer-client.h b/liblttng-ust/lttng-ring-buffer-client.h index fb7ba255..dc3dd88f 100644 --- a/liblttng-ust/lttng-ring-buffer-client.h +++ b/liblttng-ust/lttng-ring-buffer-client.h @@ -732,7 +732,7 @@ int lttng_event_reserve(struct lttng_ust_lib_ring_buffer_ctx *ctx) if (nesting < 0) return -EPERM; - private_ctx = &URCU_TLS(private_ctx_stack[nesting]); + private_ctx = &URCU_TLS(private_ctx_stack)[nesting]; memset(private_ctx, 0, sizeof(*private_ctx)); private_ctx->pub = ctx; private_ctx->chan = lttng_chan->priv->rb_chan;