]> git.ipfire.org Git - thirdparty/util-linux.git/commit
dmesg: improve buffer size error message
authorKarel Zak <kzak@redhat.com>
Mon, 16 Feb 2026 09:04:43 +0000 (10:04 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 16 Feb 2026 09:05:04 +0000 (10:05 +0100)
commitaa2e0f145a7178aa88f6beb09c1ded588bcbfe73
tree793242f68f9f6f1a5590312c43fed752157be738
parent915abd78a4f5cfb5c2cd89539c122dbc8f825631
dmesg: improve buffer size error message

Improve the error message when buffer size is too large to include
the maximum allowed size. This helps users understand what the actual
limit is rather than just reporting an invalid value.

Before: invalid buffer size argument: '...'
After: buffer size ... is too large (maximum is ...)

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/dmesg.c