From 35723eca5f1431c30e24ed77b0df4f57999ebe92 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 22 Feb 2000 17:36:35 +0000 Subject: [PATCH] Fixed return codes (added EPIPE). --- aplay/aplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aplay/aplay.c b/aplay/aplay.c index 23b0a95..4346464 100644 --- a/aplay/aplay.c +++ b/aplay/aplay.c @@ -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; } -- 2.47.1