summaryrefslogtreecommitdiffstats
path: root/src/module-oss.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/module-oss.c')
-rw-r--r--src/module-oss.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/module-oss.c b/src/module-oss.c
index 3a1afd47..310c89c0 100644
--- a/src/module-oss.c
+++ b/src/module-oss.c
@@ -77,7 +77,8 @@ static void do_read(struct userdata *u) {
assert(memchunk.memblock);
if ((r = pa_iochannel_read(u->io, memchunk.memblock->data, memchunk.memblock->length)) < 0) {
pa_memblock_unref(memchunk.memblock);
- fprintf(stderr, "read() failed: %s\n", strerror(errno));
+ if (errno != EAGAIN)
+ fprintf(stderr, "read() failed: %s\n", strerror(errno));
return;
}