aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_voicemail2.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_voicemail2.c')
-rwxr-xr-xapps/app_voicemail2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail2.c b/apps/app_voicemail2.c
index 0104149b6..8d984554d 100755
--- a/apps/app_voicemail2.c
+++ b/apps/app_voicemail2.c
@@ -933,7 +933,7 @@ static int play_and_record(struct ast_channel *chan, char *playfile, char *recor
}
if (rfmt) {
if (ast_set_read_format(chan, rfmt)) {
- ast_log(LOG_WARNING, "Unable to restore format %d to channel '%s'\n", rfmt, chan->name);
+ ast_log(LOG_WARNING, "Unable to restore format %s to channel '%s'\n", ast_getformatname(rfmt), chan->name);
}
}
if (outmsg) {