]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-boot: return 0 (not 1) from ticks_read() in fallback implementation
authorLennart Poettering <lennart@poettering.net>
Tue, 8 Feb 2022 10:27:48 +0000 (11:27 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 8 Feb 2022 12:46:23 +0000 (13:46 +0100)
commit16cec133c63d1836e5f3ceeb452b8f65d9d210d5
tree79715f733546bfe1f46b54172ab00612129e49af
parentfb63526f726772f8fea64830ec05d69c1a48a74e
sd-boot: return 0 (not 1) from ticks_read() in fallback implementation

The single consumer of ticks_read() (i.e. time_usec()) checks for == 0
to detect the "not supported/invalid" case, hence actually return the
right value for that.
src/boot/efi/ticks.c