[alsa-devel] [PATCH TINYCOMPRESS 6/14] compress: Fix incorrect error message on compress_resume()
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; }
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; }
participants (1)
-
Richard Fitzgerald