aboutsummaryrefslogtreecommitdiffstats
path: root/main/pbx.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-05 14:12:14 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-05 14:12:14 +0000
commita68a7c75de20df36ad8502ed315bb025722899c3 (patch)
treeda17c1fa6fad9ec09190a18e03d1b489638ecffa /main/pbx.c
parentd03f87259b3017050c3c84c046dfe1489087c4b2 (diff)
Fix a NULL format string warning found by buildbot.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@161287 f38db490-d61c-443f-a65b-d21fe96a405b
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 293705c02..9a33ebe9f 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -4966,7 +4966,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 */