[alsa-devel] [PATCH - TINYCOMPRESS 1/4] compress: Extend limit on error messages

Charles Keepax ckeepax at opensource.wolfsonmicro.com
Fri Jan 25 11:43:11 CET 2013

32 characters is a very short size for the error message, extend this
to 128 characters to prevent clipping on the majority of messages.

Signed-off-by: Charles Keepax <ckeepax at opensource.wolfsonmicro.com>

diff --git a/compress.c b/compress.c
index faef982..05e54ae 100644
--- a/compress.c
+++ b/compress.c
@@ -75,7 +75,7 @@
 #include "sound/compress_offload.h"
 #include "tinycompress/tinycompress.h"
-#define COMPR_ERR_MAX 32
+#define COMPR_ERR_MAX 128
 struct compress {
 	int fd;

More information about the Alsa-devel mailing list