commit c360b54296ce8502c9a0526144ead6f9eda89b71
Author: Matthew Dillon <[email protected]>
Date: Sat Dec 12 16:33:32 2020 -0800
uptime - Use CLOCK_UPTIME to calculate uptime
* Use CLOCK_UPTIME instead of subtracting the current realtime
from boottime.
* Fixes broken uptimes after time is set.
Reported-by: tuxillo, others
Summary of changes:
usr.bin/w/w.c | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c360b54296ce8502c9a0526144ead6f9eda89b71
--
DragonFly BSD source repository