Added POLLNVAL to poll->events

This commit is contained in:
Jaroslav Kysela 2002-11-30 09:47:20 +00:00
parent d0526d603c
commit 098932ce57
7 changed files with 12 additions and 12 deletions

View file

@ -616,7 +616,7 @@ int snd_mixer_poll_descriptors_revents(snd_mixer_t *mixer, struct pollfd *pfds,
return -EINVAL;
res = 0;
for (idx = 0; idx < nfds; idx++)
res |= pfds->revents & (POLLIN|POLLERR);
res |= pfds->revents & (POLLIN|POLLERR|POLLNVAL);
*revents = res;
return 0;
}