From: Jaroslav Kysela Date: Tue, 22 Feb 2000 17:36:35 +0000 (+0000) Subject: Fixed return codes (added EPIPE). X-Git-Tag: v1.0.3~391 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=35723eca5f1431c30e24ed77b0df4f57999ebe92;p=alsa-utils.git Fixed return codes (added EPIPE). --- 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; }