diff --git a/sndiod/siofile.c b/sndiod/siofile.c index e051d4e..9402b2c 100644 --- a/sndiod/siofile.c +++ b/sndiod/siofile.c @@ -226,7 +226,7 @@ dev_sio_revents(void *arg, struct pollfd *pfd) events = sio_revents(d->sio.hdl, pfd); #ifdef DEBUG - d->sio.events = sio_revents(d->sio.hdl, pfd); + d->sio.events = events; #endif return events; }