Fix tiny typo
authorMark Spencer <markster@digium.com>
Mon, 7 Jun 2004 14:49:25 +0000 (14:49 +0000)
committerMark Spencer <markster@digium.com>
Mon, 7 Jun 2004 14:49:25 +0000 (14:49 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3164 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index dd21714..a332914 100755 (executable)
@@ -7359,7 +7359,7 @@ static void *pri_dchannel(void *vpri)
                                x = 0;
                                res = ioctl(pri->fds[i], ZT_GETEVENT, &x);
                                if (x) 
                                x = 0;
                                res = ioctl(pri->fds[i], ZT_GETEVENT, &x);
                                if (x) 
-                                       ast_log(LOG_NOTICE, "PRI got event: %d on %s D-channel of span %d\n", x, pri_order(x), pri->span);
+                                       ast_log(LOG_NOTICE, "PRI got event: %d on %s D-channel of span %d\n", x, pri_order(i), pri->span);
 
                                /* Keep track of alarm state */ 
                                if (x == ZT_EVENT_ALARM) {
 
                                /* Keep track of alarm state */ 
                                if (x == ZT_EVENT_ALARM) {