diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/common/buffer.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 32abd42..2451ba7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-07-03 Simon Marchi <simon.marchi@ericsson.com> + + * buffer.h (buffer_finish): Fix spelling mistakes. + 2017-07-01 Eli Zaretskii <eliz@gnu.org> * .dir-locals.el: Automatically switch to C-style comments in diff --git a/gdb/common/buffer.h b/gdb/common/buffer.h index 2432a06..90535ca 100644 --- a/gdb/common/buffer.h +++ b/gdb/common/buffer.h @@ -46,7 +46,7 @@ void buffer_free (struct buffer *buffer); /* Initialize BUFFER. BUFFER holds no memory afterwards. */ void buffer_init (struct buffer *buffer); -/* Return a pointer into BUFFER data, effectivelly transfering +/* Return a pointer into BUFFER data, effectively transferring ownership of the buffer memory to the caller. Calling buffer_free afterwards has no effect on the returned data. */ char* buffer_finish (struct buffer *buffer); |