OSDN Git Service
(root)
/
rec10
/
rec10-git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tunerec: print errno when writing to output file has failed.
[rec10/rec10-git.git]
/
tunerec
/
tunerec.c
diff --git
a/tunerec/tunerec.c
b/tunerec/tunerec.c
index
1aea926
..
b2fd0a2
100755
(executable)
--- a/
tunerec/tunerec.c
+++ b/
tunerec/tunerec.c
@@
-300,7
+300,7
@@
void * record_write(void * priv) {
}
if ( rt > 0 ) {
// [buf] is not correctly written to [fout]
- printf("output file write failed
\n"
);
+ printf("output file write failed
. err=%d\n", errno
);
goto error;
}
}