alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH TINYCOMPRESS 6/14] compress: Fix incorrect error message on compress_resume()
@ 2013-02-10  0:11 Richard Fitzgerald
  2013-02-22 16:02 ` [PATCH TINYCOMPRESS 6/14 v2] " Richard Fitzgerald
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Fitzgerald @ 2013-02-10  0:11 UTC (permalink / raw)
  To: vinod.koul; +Cc: alsa-devel

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH TINYCOMPRESS 6/14 v2] compress: Fix incorrect error message on compress_resume()
  2013-02-10  0:11 [PATCH TINYCOMPRESS 6/14] compress: Fix incorrect error message on compress_resume() Richard Fitzgerald
@ 2013-02-22 16:02 ` Richard Fitzgerald
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Fitzgerald @ 2013-02-22 16:02 UTC (permalink / raw)
  To: vinod.koul; +Cc: alsa-devel

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-22 16:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-10  0:11 [PATCH TINYCOMPRESS 6/14] compress: Fix incorrect error message on compress_resume() Richard Fitzgerald
2013-02-22 16:02 ` [PATCH TINYCOMPRESS 6/14 v2] " Richard Fitzgerald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).