]> git.ipfire.org Git - thirdparty/util-linux.git/commit
dmesg: fix --notime use
authorKarel Zak <kzak@redhat.com>
Mon, 3 Feb 2025 10:29:44 +0000 (11:29 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 3 Feb 2025 10:29:44 +0000 (11:29 +0100)
commitddb558e87f96aac76c7d38701e61e89583d651a5
treecfe4467440e30a7a8084c1ff232f3501c0c88373
parentff0ac0f27dc3de7d250b2a69f6452bfeec104f8c
dmesg: fix --notime use

The --notime command line option disables parsing of timestamps from
kmsg. This is a bug because the timestamps can be used for operations
other than just output. For example, they can be used for filters like
--since (dmesg --since '1 day ago' --notime).

Addresses: https://github.com/util-linux/util-linux/issues/3392
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/dmesg.c