aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2010-09-29 16:16:47 +0000
committerrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2010-09-29 16:16:47 +0000
commitb7c80343552ce148484a37fa42dfced34cded9e4 (patch)
tree1bf1d9ba469c1c63bc8a91c7c72a6006030249a3 /main
parentc540a3d50fe956dc81dfd1d9bfb434c501891680 (diff)
Make development error message indicate which channel.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@289253 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/channel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/channel.c b/main/channel.c
index 2223172a6..43ba5b2b1 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -3624,7 +3624,9 @@ static struct ast_frame *__ast_read(struct ast_channel *chan, int dropaudio)
* this happens so that it can be addressed.
*/
if (chan->fdno == -1) {
- ast_log(LOG_ERROR, "ast_read() called with no recorded file descriptor.\n");
+ ast_log(LOG_ERROR,
+ "ast_read() on chan '%s' called with no recorded file descriptor.\n",
+ chan->name);
}
#endif