]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix a NULL format string warning found by buildbot.
authorRussell Bryant <russell@russellbryant.com>
Fri, 5 Dec 2008 14:12:14 +0000 (14:12 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 5 Dec 2008 14:12:14 +0000 (14:12 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@161287 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/pbx.c

index 293705c0207aa9e8e357f2d9d6a73abb211f993a..9a33ebe9fcb687218bdeb10ec32a5e304df723f5 100644 (file)
@@ -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 */