From 22b22ce98477138d3e694cd66a3040d450946963 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Sat, 30 Nov 2013 11:45:51 +0100 Subject: [PATCH] Cleanup: fix typo in ring buffer backend comment Signed-off-by: Mathieu Desnoyers --- libringbuffer/ring_buffer_backend.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libringbuffer/ring_buffer_backend.c b/libringbuffer/ring_buffer_backend.c index 3db1f860..0d2cc6d0 100644 --- a/libringbuffer/ring_buffer_backend.c +++ b/libringbuffer/ring_buffer_backend.c @@ -425,8 +425,9 @@ int lib_ring_buffer_read_cstr(struct lttng_ust_lib_ring_buffer_backend *bufb, si * * Return the address where a given offset is located (for read). * Should be used to get the current subbuffer header pointer. Given we know - * it's never on a page boundary, it's safe to write directly to this address, - * as long as the write is never bigger than a page size. + * it's never on a page boundary, it's safe to read/write directly + * from/to this address, as long as the read/write is never bigger than + * a page size. */ void *lib_ring_buffer_read_offset_address(struct lttng_ust_lib_ring_buffer_backend *bufb, size_t offset, -- 2.34.1