public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "João Paulo Rechi Vita" <jprvita@gmail.com>
To: linux-bluetooth@vger.kernel.org
Cc: "João Paulo Rechi Vita" <jprvita@gmail.com>
Subject: [PATCH] Fix some error messages in A2DP Source functions.
Date: Thu,  4 Jun 2009 11:36:54 -0300	[thread overview]
Message-ID: <1244126214-15714-1-git-send-email-jprvita@gmail.com> (raw)

Make the messages text refer to correct function that lead to the error.
---
 audio/a2dp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/audio/a2dp.c b/audio/a2dp.c
index 0d2c78d..2c4d047 100644
--- a/audio/a2dp.c
+++ b/audio/a2dp.c
@@ -1448,7 +1448,7 @@ unsigned int a2dp_source_resume(struct avdtp *session, struct a2dp_sep *sep,
 			g_idle_add((GSourceFunc) finalize_resume, setup);
 		break;
 	default:
-		error("SEP in bad state");
+		error("SEP in bad state for resume");
 		goto failed;
 	}
 
@@ -1499,7 +1499,7 @@ unsigned int a2dp_source_suspend(struct avdtp *session, struct a2dp_sep *sep,
 		}
 		break;
 	default:
-		error("SEP in bad state for resume");
+		error("SEP in bad state for suspend");
 		goto failed;
 	}
 
-- 
1.6.0.4


             reply	other threads:[~2009-06-04 14:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-04 14:36 João Paulo Rechi Vita [this message]
2009-06-04 14:48 ` [PATCH] Fix some error messages in A2DP Source functions Johan Hedberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1244126214-15714-1-git-send-email-jprvita@gmail.com \
    --to=jprvita@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox