From 4af319eda0a993621f7cd956b81326ff52a4dc8c Mon Sep 17 00:00:00 2001 From: Thomas Gschwantner Date: Fri, 14 Jun 2019 03:39:48 +0200 Subject: Remove CLOCK_MONOTONIC comment The CLOCK_MONOTONIC change was reverted: https://git.kernel.org/torvalds/c/a3ed0e43 --- lease.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lease.c') diff --git a/lease.c b/lease.c index 936a4a8..c13a190 100644 --- a/lease.c +++ b/lease.c @@ -28,10 +28,6 @@ static time_t get_monotonic_time() { struct timespec monotime; #ifdef __linux__ - /* in linux 4.17, CLOCK_MONOTONIC was changed to be like CLOCK_BOOTTIME, - * see https://git.kernel.org/torvalds/c/d6ed449, but glibc's wrapper - * seems to still have the old behavior - */ if (clock_gettime(CLOCK_BOOTTIME, &monotime)) fatal("clock_gettime(CLOCK_BOOTTIME)"); #else -- cgit v1.2.3-59-g8ed1b