sd-device: use right clock when comparing initialization usec
authorLennart Poettering <lennart@poettering.net>
Tue, 20 Apr 2021 13:56:03 +0000 (15:56 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 20 Apr 2021 15:12:39 +0000 (17:12 +0200)
commit02ef01ade3b16c05dfc8698181d7f562f4934ef3
tree2b4fcee71c2dd2e7fdd56b00783d256412c41156
parenta156eb89c827206ee5b51d53016ba63be0c90449
sd-device: use right clock when comparing initialization usec

we actually use CLOCK_MONOTONIC for the timestamp, hence when
comparing/subtracting it from the current time, also use
CLOCK_MONOTONIC.
src/libsystemd/sd-device/sd-device.c