]> 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>
Thu, 15 Feb 2024 09:13:39 +0000 (10:13 +0100)
commit34379fc97852f1fd9ac1bfb1b31acc2bc123699d
tree139a1ba544dd72bcda2a30b2173da28447d630b3
parent7cf2bbf5bc660437212ff99edf2560b72290777f
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>
(cherry picked from commit a355f2b78a8c486f7721371d9010f4f1bafcee00)
sys-utils/dmesg.c