summaryrefslogtreecommitdiff
path: root/kqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'kqueue.c')
-rw-r--r--kqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kqueue.c b/kqueue.c
index 949db4d2..3ce1e0b6 100644
--- a/kqueue.c
+++ b/kqueue.c
@@ -155,7 +155,7 @@ kq_insert(struct kqop *kqop, struct kevent *kev)
}
kqop->changes = newchange;
- newresult = realloc(kqop->changes,
+ newresult = realloc(kqop->events,
nevents * sizeof(struct kevent));
/*