aboutsummaryrefslogtreecommitdiffstats
path: root/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'image.c')
-rw-r--r--image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/image.c b/image.c
index 894e6605b..325b22c35 100644
--- a/image.c
+++ b/image.c
@@ -158,7 +158,7 @@ struct ast_frame *ast_read_image(char *filename, char *preflang, int format)
lseek(fd, 0, SEEK_SET);
f = found->read_image(fd,len);
} else
- ast_log(LOG_WARNING, "%s does not appear to be a %s file\n", buf, i->name);
+ ast_log(LOG_WARNING, "%s does not appear to be a %s file\n", buf, found->name);
close(fd);
} else
ast_log(LOG_WARNING, "Unable to open '%s': %s\n", buf, strerror(errno));