diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-05-13 16:46:18 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-05-13 16:46:18 +0000 |
commit | 3eecc504bc086dea792da27f429a04443ed460a8 (patch) | |
tree | b0e2758a38e6d992d3a1cf4fc68017b660cc8cca /res/res_timing_kqueue.c | |
parent | 14ebd398953b27d5c02c603dae1c6c31a4c693cc (diff) |
Hmmm, probably should have read the manpage more thoroughly.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@262940 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_timing_kqueue.c')
-rw-r--r-- | res/res_timing_kqueue.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/res/res_timing_kqueue.c b/res/res_timing_kqueue.c index 99baefede..c56404611 100644 --- a/res/res_timing_kqueue.c +++ b/res/res_timing_kqueue.c @@ -147,11 +147,11 @@ static void kqueue_set_nsecs(struct kqueue_timer *our_timer, uint64_t nsecs) { struct timespec nowait = { 0, 1 }; #ifdef HAVE_KEVENT64 - struct kevent64 kev; + struct kevent64_s kev; EV_SET64(&kev, our_timer->handle, EVFILT_TIMER, EV_ADD | EV_ENABLE, NOTE_NSECONDS, - nsecs, NULL, 0, 0); - kevent64(our_timer->handle, &kev, 1, NULL, 0, &nowait); + nsecs, 0, 0, 0); + kevent64(our_timer->handle, &kev, 1, NULL, 0, 0, &nowait); #else struct kevent kev; |