]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
dmesg: update prepare_buffer() comment
authorKarel Zak <kzak@redhat.com>
Mon, 16 Feb 2026 09:18:56 +0000 (10:18 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 16 Feb 2026 09:18:56 +0000 (10:18 +0100)
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 <kzak@redhat.com>
sys-utils/dmesg.c

index 85cc8a262ec81efdcb84d5fa63f71a5b8060e3c9..64c3fd5c32f9377ddc1b1c48bcd8849125a7045b 100644 (file)
@@ -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)
 {