Add more clear channel debugging
authorMark Spencer <markster@digium.com>
Wed, 26 Mar 2003 00:25:09 +0000 (00:25 +0000)
committerMark Spencer <markster@digium.com>
Wed, 26 Mar 2003 00:25:09 +0000 (00:25 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@690 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index 1b115d1..3be4ddc 100755 (executable)
@@ -1880,7 +1880,7 @@ int       x;
                        x = 1;
                }
                if (ioctl(p->subs[SUB_REAL].zfd, ZT_AUDIOMODE, &x) == -1)
-                       ast_log(LOG_WARNING, "Unable to set audio mode on channel %d\n", p->channel);
+                       ast_log(LOG_WARNING, "Unable to set audio mode on channel %d to %d\n", p->channel, x);
                break;
        }
        errno = 0;