From 123613853b67efeb0b5bcd5ffe880f1a519ff43a Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Fri, 21 Jun 2002 01:40:13 +0000 Subject: Version 0.1.12 from FTP git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@465 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- formats/format_jpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'formats/format_jpeg.c') diff --git a/formats/format_jpeg.c b/formats/format_jpeg.c index 7e10af884..4e9f0f4c3 100755 --- a/formats/format_jpeg.c +++ b/formats/format_jpeg.c @@ -80,7 +80,7 @@ static int jpeg_write_image(int fd, struct ast_frame *fr) if (fr->datalen) { res = write(fd, fr->data, fr->datalen); if (res != fr->datalen) { - ast_log(LOG_WARNING, "Only wrote %d of %d bytes: %s\n", res, fr->datalen); + ast_log(LOG_WARNING, "Only wrote %d of %d bytes: %s\n", res, fr->datalen, strerror(errno)); return -1; } } -- cgit v1.2.3