diff options
author | Uoti Urpala <uau@mplayer2.org> | 2012-08-03 20:33:46 +0300 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-08-16 17:16:32 +0200 |
commit | 202ea8214ef1db693405b75559868523ca725ac0 (patch) | |
tree | d5fc782a79963f18bd10c99d06dbc3a8b0eeca21 /libmpcodecs | |
parent | 214edc0ef29104ec0561583318a08e31f384e48e (diff) |
stream_file: print strerror() when failing to open a file
stream_file always printed "File not found" if it could not open a
file, even though this could be due to other reasons such as
permission problems. Print strerror() information instead. This
changes the output for "mplayer /etc/shadow" from
File not found: '/etc/shadow'
to
Cannot open file '/etc/shadow': Permission denied
Diffstat (limited to 'libmpcodecs')
0 files changed, 0 insertions, 0 deletions