diff options
author | Thomas Gschwantner <tharre3@gmail.com> | 2019-06-14 03:39:48 +0200 |
---|---|---|
committer | Thomas Gschwantner <tharre3@gmail.com> | 2019-06-14 20:14:15 +0200 |
commit | 4af319eda0a993621f7cd956b81326ff52a4dc8c (patch) | |
tree | 288eedd3a0ecfbfacc97f2cbae65923af6041c95 | |
parent | Fix use-after-free and memory leak in ipp_free() (diff) | |
download | wg-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.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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 |