set boot time from monotonic time (#19444)
authorcaoxia2008cxx <78151946+caoxia2008cxx@users.noreply.github.com>
Thu, 29 Apr 2021 09:05:01 +0000 (17:05 +0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 6 May 2021 12:51:08 +0000 (14:51 +0200)
commit05a09679982a8062e934a3590fc1c62798dbb82f
treeaf23a7787c8c6f97e703547b7d979c1b2d1c836a
parent4f475a445a87cd5d53b85fac0bb3bad9fcbd6315
set boot time from monotonic time (#19444)

utmp: calculate boot timestamp from monotonic timestamp instead of realtime timestamp
(cherry picked from commit f813b62316395205f4c744cde43885081b5f88ae)
src/update-utmp/update-utmp.c