From: Karel Zak Date: Mon, 16 Feb 2026 09:18:56 +0000 (+0100) Subject: dmesg: update prepare_buffer() comment X-Git-Tag: v2.43-devel~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76d3b305f3d1ccb88a8dd854bb3831bbcd3b8d27;p=thirdparty%2Futil-linux.git dmesg: update prepare_buffer() comment The function was renamed from process_buffer() to prepare_buffer() and no longer handles printing. Update the comment to reflect that it only reads and prepares the message buffer. Signed-off-by: Karel Zak --- diff --git a/sys-utils/dmesg.c b/sys-utils/dmesg.c index 85cc8a262..64c3fd5c3 100644 --- a/sys-utils/dmesg.c +++ b/sys-utils/dmesg.c @@ -711,7 +711,7 @@ static ssize_t read_syslog_buffer(struct dmesg_control *ctl, char **buf) } /* - * Top level function to read (and print in case of kmesg) messages + * Top level function to read and prepare messages buffer */ static ssize_t prepare_buffer(struct dmesg_control *ctl, char **buf) {