]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsclocks: fix dynamic clock ids
authorThomas Weißschuh <thomas@t-8ch.de>
Mon, 23 Dec 2024 23:56:12 +0000 (00:56 +0100)
committerThomas Weißschuh <thomas@t-8ch.de>
Tue, 24 Dec 2024 00:02:15 +0000 (01:02 +0100)
commit63102b844b8eac9f7304e2c32fba3f115b993fc6
treef257fd380d8b45425e1cd05e3ed7f2f6f97a1bb4
parent25e62e5e57f2e8cd04a63c7a9499ce9c81047925
lsclocks: fix dynamic clock ids

Without an explicitly specified clock id, lsclocks would always use
clock id 0 (CLOCK_REALTIME) for the dynamic/PTP clocks.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
misc-utils/lsclocks.c