[alsa-devel] [PATCH TINYCOMPRESS 6/14 v2] compress: Fix incorrect error message on compress_resume()

Richard Fitzgerald rf at opensource.wolfsonmicro.com
Fri Feb 22 17:02:17 CET 2013


Was reporting compress_resume() errors as "cannot pause"

---
 compress.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/compress.c b/compress.c
index d09e161..801f055 100644
--- a/compress.c
+++ b/compress.c
@@ -403,7 +403,7 @@ int compress_pause(struct compress *compress)
 int compress_resume(struct compress *compress)
 {
 	if (ioctl(compress->fd, SNDRV_COMPRESS_RESUME))
-		return oops(compress, errno, "cannot pause the stream");
+		return oops(compress, errno, "cannot resume the stream");
 	return 0;
 }
 
-- 
1.7.2.5



More information about the Alsa-devel mailing list