76c44a1c722ddd27b54970d2c373f12c52836e32
[openwrt/svn-archive/archive.git] / net / btpd / patches / 001-gettime.patch
1 diff -urN btpd-0.15/evloop/timer.c btpd-0.15-hack/evloop/timer.c
2 --- btpd-0.15/evloop/timer.c 2009-02-09 14:12:28.000000000 -0500
3 +++ btpd-0.15-hack/evloop/timer.c 2009-06-19 21:41:02.000000000 -0400
4 @@ -14,7 +14,7 @@
5 int
6 evtimer_gettime(struct timespec *ts)
7 {
8 - return clock_gettime(TIMER_CLOCK, ts);
9 + return clock_gettime(CLOCK_REALTIME, ts);
10 }
11
12 #elif defined(HAVE_MACH_ABSOLUTE_TIME)