summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index ba9378380..8f50e1106 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;
}
}