]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Resolve a compiler warning from buildbot about a NULL format string.
authorRussell Bryant <russell@russellbryant.com>
Fri, 5 Dec 2008 13:46:01 +0000 (13:46 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 5 Dec 2008 13:46:01 +0000 (13:46 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@161252 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_minivm.c

index b1537006534aa4285d4e68baeab1c182dd710953..34ef5f605bf26d78924f0985383336fb0c3b5e25 100644 (file)
@@ -1106,7 +1106,7 @@ static int sendmail(struct minivm_template *template, struct minivm_account *vmu
                return -1;
        }
        /* Allocate channel used for chanvar substitution */
-       ast = ast_channel_alloc(0, AST_STATE_DOWN, 0, 0, "", "", "", 0, 0);
+       ast = ast_channel_alloc(0, AST_STATE_DOWN, 0, 0, "", "", "", 0, "%s", "");
 
 
        snprintf(dur, sizeof(dur), "%d:%02d", duration / 60, duration % 60);