From 10120638c2b812bddd936bc8136a01fc68772d2f Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Wed, 14 Jun 2017 12:34:06 -0500 Subject: [PATCH] app_voicemail.c: Fix compile error when IMAP enabled. Change-Id: I2703f15b4099b4210c68eccf293105d1975c1fc1 --- apps/app_voicemail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 5450ffcfbb..63703f0ea7 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; } }