]> git.alsa-project.org Git - alsa-utils.git/commitdiff
Fixed return codes (added EPIPE).
authorJaroslav Kysela <perex@perex.cz>
Tue, 22 Feb 2000 17:36:35 +0000 (17:36 +0000)
committerJaroslav Kysela <perex@perex.cz>
Tue, 22 Feb 2000 17:36:35 +0000 (17:36 +0000)
aplay/aplay.c

index 23b0a95694c7c2f77ac16c6f7520927008ff5803..4346464e194c2a2f56a34f5889904253bf716186 100644 (file)
@@ -1315,7 +1315,7 @@ void capture_go(int fd, int loaded, u_long count, int rtype, char *name)
                                }
                                count -= c;
                        }
-                       if (l == -EAGAIN) {
+                       if (l == -EPIPE) {
                                capture_read_error();
                                l = 0;
                        }