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
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 */