repositories
/
deb_ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Debian version 2.5.0~trusty1.1
[deb_ffmpeg.git]
/
ffmpeg
/
tools
/
ffhash.c
diff --git
a/ffmpeg/tools/ffhash.c
b/ffmpeg/tools/ffhash.c
index a9f71c26c5237546c944dc501cdaff61d899a4c8..69425277323ed2289b9c04b1740dbd0b4e4c1ed5 100644
(file)
--- a/
ffmpeg/tools/ffhash.c
+++ b/
ffmpeg/tools/ffhash.c
@@
-94,9
+94,10
@@
static int check(char *file)
for (;;) {
int size = read(fd, buffer, SIZE);
if (size < 0) {
+ int err = errno;
close(fd);
finish();
- printf("+READ-FAILED: %s", strerror(err
no
));
+ printf("+READ-FAILED: %s", strerror(err));
ret = 2;
goto end;
} else if(!size)