From 5bfd255c414e89f23342f38975d09b18f2c1b2b7 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 3 Jul 2017 13:59:00 +0200 Subject: [PATCH] buffer.h: Fix spelling mistakes gdb/ChangeLog: * buffer.h (buffer_finish): Fix spelling mistakes. --- gdb/ChangeLog | 4 ++++ gdb/common/buffer.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 32abd426a99..2451ba70d5b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-07-03 Simon Marchi + + * buffer.h (buffer_finish): Fix spelling mistakes. + 2017-07-01 Eli Zaretskii * .dir-locals.el: Automatically switch to C-style comments in diff --git a/gdb/common/buffer.h b/gdb/common/buffer.h index 2432a069327..90535ca124f 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); -- 2.30.2