From: Mathieu Desnoyers Date: Sat, 30 Nov 2013 10:45:51 +0000 (+0100) Subject: Cleanup: fix typo in ring buffer backend comment X-Git-Tag: v2.4.0-rc2~10 X-Git-Url: http://git.lttng.org/?p=lttng-ust.git;a=commitdiff_plain;h=22b22ce98477138d3e694cd66a3040d450946963 Cleanup: fix typo in ring buffer backend comment Signed-off-by: Mathieu Desnoyers --- 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,