diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 06f4830faec531712a6ce1b416dbdb5eaed60bb1..1247bde95989030b1927c9201ca4a7664eb3f639 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -2730,7 +2730,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; } }