summaryrefslogtreecommitdiffstats
path: root/net/btpd/patches/001-gettime.patch
blob: 012b95dc8fa83e1d88934d121a7c0a60cfef1982 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/evloop/timer.c
+++ b/evloop/timer.c
@@ -14,7 +14,7 @@
 int
 evtimer_gettime(struct timespec *ts)
 {
-    return clock_gettime(TIMER_CLOCK, ts);
+    return clock_gettime(CLOCK_REALTIME, ts);
 }
 
 #elif defined(HAVE_MACH_ABSOLUTE_TIME)