summaryrefslogtreecommitdiff
path: root/main/pbx.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2008-12-05 14:16:24 +0000
committerRussell Bryant <russell@russellbryant.com>2008-12-05 14:16:24 +0000
commitde811c9490543a483068ceae58f180ee11883ca2 (patch)
treed8e83ac8ecf44d4068794b9ce31e4f131df4d150 /main/pbx.c
parent7d0c1f40fb7be4f3f923c5d59faa25935a705b93 (diff)
Merged revisions 161287 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r161287 | russell | 2008-12-05 08:12:14 -0600 (Fri, 05 Dec 2008) | 2 lines Fix a NULL format string warning found by buildbot. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@161288 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/pbx.c')
-rw-r--r--main/pbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c
index 533c4dc43..8aee9e359 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -7708,7 +7708,7 @@ static void *async_wait(void *data)
static int ast_pbx_outgoing_cdr_failed(void)
{
/* allocate a channel */
- struct ast_channel *chan = ast_channel_alloc(0, AST_STATE_DOWN, 0, 0, "", "", "", 0, 0);
+ struct ast_channel *chan = ast_channel_alloc(0, AST_STATE_DOWN, 0, 0, "", "", "", 0, "%s", "");
if (!chan)
return -1; /* failure */