X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lib%2Fringbuffer%2Fbackend.h;h=43e1d47542d3140183bf80cc725dfa0d77e29257;hb=57ccbfa6a8a79c7b84394c2097efaf7935607aa5;hp=da937f29d6f8cc3c8954ca4be7361e9f7e003139;hpb=52563d02a9234215b62c5f519aa1b5d8589ccd0a;p=lttng-modules.git diff --git a/lib/ringbuffer/backend.h b/lib/ringbuffer/backend.h index da937f29..43e1d475 100644 --- a/lib/ringbuffer/backend.h +++ b/lib/ringbuffer/backend.h @@ -156,7 +156,7 @@ size_t lib_ring_buffer_do_strcpy(const struct lib_ring_buffer_config *config, * Only read source character once, in case it is * modified concurrently. */ - c = READ_ONCE(src[count]); + c = LTTNG_READ_ONCE(src[count]); if (!c) break; lib_ring_buffer_do_copy(config, &dest[count], &c, 1);