]> git.ipfire.org Git - thirdparty/util-linux.git/commit
dmesg: fix delta calculation
authorKarel Zak <kzak@redhat.com>
Tue, 13 Feb 2024 09:56:41 +0000 (10:56 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 13 Feb 2024 09:56:41 +0000 (10:56 +0100)
commita355f2b78a8c486f7721371d9010f4f1bafcee00
treef96c5f3736380c49d27914d6ea28987501081906
parent68d4b8f02adba9b53f563095d6abe99146d4d8ad
dmesg: fix delta calculation

Old:
./dmesg --nopager --color=never --decode --time-format delta  --kernel --since "@$t"
kern  :info  : [<18446744098961.000000>] bash (40091): drop_caches: 3

Fixed:
./dmesg --nopager --color=never --decode --time-format delta  --kernel --since "@$t"
kern  :info  : [<25251.997673>] bash (40091): drop_caches: 3

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