summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2010-09-29 16:17:27 +0000
committerRichard Mudgett <rmudgett@digium.com>2010-09-29 16:17:27 +0000
commit3cb0f1ff0a4c1298bdd524393b5063917146c7f8 (patch)
treef75935e48eb4e89e6cd9682066c99d777797e47d /main
parente5296076175ba19a6b27f78be41e39f014aac37e (diff)
Merged revisions 289253 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r289253 | rmudgett | 2010-09-29 11:16:47 -0500 (Wed, 29 Sep 2010) | 1 line Make development error message indicate which channel. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@289254 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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