Cleanup: fix typo in ring buffer backend comment
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 30 Nov 2013 10:45:51 +0000 (11:45 +0100)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 30 Nov 2013 10:45:51 +0000 (11:45 +0100)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libringbuffer/ring_buffer_backend.c

index 3db1f860f3918d8a1e61a959e1f4501678f93687..0d2cc6d0359af249e4c65e4cd4f0b9d0efbe2f0f 100644 (file)
@@ -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,
This page took 0.024981 seconds and 4 git commands to generate.