From d0f53b09cf4376c87b7cb678f50d1ef426f133df Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Fri, 5 Dec 2008 14:12:14 +0000 Subject: [PATCH] Fix a NULL format string warning found by buildbot. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@161287 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/pbx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/pbx.c b/main/pbx.c index 293705c020..9a33ebe9fc 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 */