mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
Fix printf to match int type (bug #247)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1383,7 +1383,7 @@ static int queues_show(int fd, int argc, char **argv)
|
||||
pos = 1;
|
||||
ast_cli(fd, " Callers: \n");
|
||||
for (qe = q->head; qe; qe = qe->next)
|
||||
ast_cli(fd, " %d. %s (wait: %d:%2.2d)\n", pos++, qe->chan->name,
|
||||
ast_cli(fd, " %d. %s (wait: %ld:%2.2ld)\n", pos++, qe->chan->name,
|
||||
(now - qe->start) / 60, (now - qe->start) % 60);
|
||||
} else
|
||||
ast_cli(fd, " No Callers\n");
|
||||
|
Reference in New Issue
Block a user