aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gschwantner <tharre3@gmail.com>2019-06-14 03:39:48 +0200
committerThomas Gschwantner <tharre3@gmail.com>2019-06-14 20:14:15 +0200
commit4af319eda0a993621f7cd956b81326ff52a4dc8c (patch)
tree288eedd3a0ecfbfacc97f2cbae65923af6041c95
parentFix use-after-free and memory leak in ipp_free() (diff)
downloadwg-dynamic-4af319eda0a993621f7cd956b81326ff52a4dc8c.tar.xz
wg-dynamic-4af319eda0a993621f7cd956b81326ff52a4dc8c.zip
Remove CLOCK_MONOTONIC comment
The CLOCK_MONOTONIC change was reverted: https://git.kernel.org/torvalds/c/a3ed0e43
-rw-r--r--lease.c4
1 files changed, 0 insertions, 4 deletions
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