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

Richard Fitzgerald rf at opensource.wolfsonmicro.com
Sun Feb 10 01:11:04 CET 2013


Was reporting compress_resume() errors as "cannot pause"

diff --git a/compress.c b/compress.c
index 871c19e..5235ea4 100644
--- a/compress.c
+++ b/compress.c
@@ -392,7 +392,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\n");
+		return oops(compress, errno, "cannot resume the stream\n");
 	return 0;
 }
 
-- 
1.7.2.5




More information about the Alsa-devel mailing list