diff options
| author | Michael Forney <mforney@mforney.org> | 2017-06-05 21:02:38 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2017-06-05 21:45:55 -0700 |
| commit | e06e633c0aa8ffcddef40d60d48042d8cfd26881 (patch) | |
| tree | 6dd27685cc0b69025374a255926d1e4cd352c4df /pkg/mpv/file2string.c | |
| parent | 9231c3c26e71422c45063053a012bd08d5cbf969 (diff) | |
mpv: Update to 0.25.0
Diffstat (limited to 'pkg/mpv/file2string.c')
| -rw-r--r-- | pkg/mpv/file2string.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/mpv/file2string.c b/pkg/mpv/file2string.c index 84f31ce1..0426b442 100644 --- a/pkg/mpv/file2string.c +++ b/pkg/mpv/file2string.c @@ -29,6 +29,10 @@ int main(int argc, char *argv[]) { } printf("\"\n"); } + if (ferror(f)) { + fprintf(stderr, "ferror: %s\n", strerror(errno)); + return 1; + } return 0; } |
