summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2008-12-05 13:46:01 +0000
committerRussell Bryant <russell@russellbryant.com>2008-12-05 13:46:01 +0000
commit7d0c1f40fb7be4f3f923c5d59faa25935a705b93 (patch)
tree48031becbc3ad677578ade14c23767223685a50f /apps
parent1e8e12efcf53065350a056894e1f47842211afb5 (diff)
Resolve a compiler warning from buildbot about a NULL format string.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@161252 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r--apps/app_minivm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_minivm.c b/apps/app_minivm.c
index b15370065..34ef5f605 100644
--- a/apps/app_minivm.c
+++ b/apps/app_minivm.c
@@ -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);