this has no effect except to make ktrace output prettier.
ok bluhm mpi
-/* $OpenBSD: kqueue.c,v 1.39 2016/09/03 11:31:17 nayden Exp $ */
+/* $OpenBSD: kqueue.c,v 1.40 2017/07/10 21:37:26 tedu Exp $ */
/*
* Copyright 2000-2002 Niels Provos <provos@citi.umich.edu>
ts_p = &ts;
}
- res = kevent(kqop->kq, changes, kqop->nchanges,
+ res = kevent(kqop->kq, kqop->nchanges ? changes : NULL, kqop->nchanges,
events, kqop->nevents, ts_p);
kqop->nchanges = 0;
if (res == -1) {