aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-05 13:46:01 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-05 13:46:01 +0000
commit3deb449faef7763f7de49d1aa54e6481c5d7872c (patch)
tree48031becbc3ad677578ade14c23767223685a50f /apps
parent6e243a54348da179538728d0c25526081bc17bf6 (diff)
Resolve a compiler warning from buildbot about a NULL format string.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@161252 f38db490-d61c-443f-a65b-d21fe96a405b
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);