From: Richard Mudgett Date: Wed, 14 Jun 2017 17:34:06 +0000 (-0500) Subject: app_voicemail.c: Fix compile error when IMAP enabled. X-Git-Tag: 13.17.0-rc1~34^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1a209d5ac8f8b7fe96e54d6aba55dbf0dbb1403;p=thirdparty%2Fasterisk.git app_voicemail.c: Fix compile error when IMAP enabled. Change-Id: I2703f15b4099b4210c68eccf293105d1975c1fc1 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index f62c7d8c9d..d8011aed3a 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -2732,7 +2732,7 @@ static int imap_store_file(const char *dir, const char *mailboxuser, const char } if (fread(buf, 1, len, p) != len) { if (ferror(p)) { - ast_log(LOG_ERROR, "Error while reading mail file: %s\n"); + ast_log(LOG_ERROR, "Error while reading mail file: %s\n", tmp); return -1; } }