diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-09 16:34:55 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-09 16:54:04 +0200 |
commit | d9cb1e0e15e5cabb0b36f10cba079ea6532ed8e7 (patch) | |
tree | 840bcc29a11e308286be68a0b0ac8c7163b52495 /tools | |
parent | 88e0e2054d911b38662f681bdc267e08312d313a (diff) | |
download | ffmpeg-d9cb1e0e15e5cabb0b36f10cba079ea6532ed8e7.tar.gz |
ffadler: fix duplicate \n on errors
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/ffadler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ffadler.c b/tools/ffadler.c index 3f9c1616f3..97e62577c9 100644 --- a/tools/ffadler.c +++ b/tools/ffadler.c @@ -46,7 +46,7 @@ static int check(char *file) if (file) fd = open(file, O_RDONLY); else fd = 0; if (fd == -1) { - printf("A32=OPEN-FAILED-%d\n", errno); + printf("A32=OPEN-FAILED-%d", errno); ret = 1; goto end; } @@ -54,7 +54,7 @@ static int check(char *file) for (;;) { ssize_t size = read(fd, buffer, SIZE); if (size < 0) { - printf("A32=0x%08x+READ-FAILED-%d\n", checksum, errno); + printf("A32=0x%08x+READ-FAILED-%d", checksum, errno); ret = 2; goto end; } else if(!size) |