summaryrefslogtreecommitdiff
path: root/src/seq
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2002-11-30 09:47:20 +0000
committerJaroslav Kysela <perex@perex.cz>2002-11-30 09:47:20 +0000
commit098932ce57a9536e313acbfab877f86b668a9bc6 (patch)
tree25e56414e96aa4192f88fd8cc86e4754e77fb2bc /src/seq
parentd0526d603c5a3c3db57683f3e2cdd8a6d13c29a9 (diff)
Added POLLNVAL to poll->events
Diffstat (limited to 'src/seq')
-rw-r--r--src/seq/seq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/seq/seq.c b/src/seq/seq.c
index 76885009..9c5f24dc 100644
--- a/src/seq/seq.c
+++ b/src/seq/seq.c
@@ -315,11 +315,11 @@ int snd_seq_poll_descriptors(snd_seq_t *seq, struct pollfd *pfds, unsigned int s
assert(seq);
if ((events & POLLIN) && space >= 1) {
assert(seq->streams & SND_SEQ_OPEN_INPUT);
- revents |= POLLIN|POLLERR;
+ revents |= POLLIN|POLLERR|POLLNVAL;
}
if ((events & POLLOUT) && space >= 1) {
assert(seq->streams & SND_SEQ_OPEN_OUTPUT);
- revents |= POLLOUT|POLLERR;
+ revents |= POLLOUT|POLLERR|POLLNVAL;
}
if (!revents)
return 0;