From 33b8d4717ef631088e5b8859fdd5fa5c693e9eef Mon Sep 17 00:00:00 2001 From: Abramo Bagnara Date: Thu, 22 Feb 2001 10:29:39 +0000 Subject: [PATCH] Fixed use of poll_descriptors --- seq/aseqnet/aseqnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seq/aseqnet/aseqnet.c b/seq/aseqnet/aseqnet.c index 061946a..2f06aea 100644 --- a/seq/aseqnet/aseqnet.c +++ b/seq/aseqnet/aseqnet.c @@ -239,7 +239,7 @@ static void init_seq(char *source, char *dest) perror("snd_seq_open"); exit(1); } - err = snd_seq_poll_descriptors(handle, &pfd, 1); + err = snd_seq_poll_descriptors(handle, &pfd, 1, POLLIN | POLLOUT); assert(err == 1); seqfd = pfd.fd;