aboutsummaryrefslogtreecommitdiff
path: root/lib/libdvd
diff options
context:
space:
mode:
authorVoyager1 <voyager@xbmc.org>2013-02-21 20:07:03 +0100
committerVoyager1 <voyager@xbmc.org>2013-02-21 20:07:03 +0100
commitcffa18401f642b35a91de7e5b1e184f1dc0bef6d (patch)
tree748942dcc9ba0b5e24b32b1112ad01af9e6713d1 /lib/libdvd
parent6eff7a87fd5005fc3eb4d41bc18c4cef549c2eec (diff)
libdvdread: replace perror by fprintf so that it gets picked up in xbmc logs
Diffstat (limited to 'lib/libdvd')
-rw-r--r--lib/libdvd/libdvdread/src/dvd_reader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdvd/libdvdread/src/dvd_reader.c b/lib/libdvd/libdvdread/src/dvd_reader.c
index 2b3562f326..38a3812f16 100644
--- a/lib/libdvd/libdvdread/src/dvd_reader.c
+++ b/lib/libdvd/libdvdread/src/dvd_reader.c
@@ -446,7 +446,7 @@ dvd_reader_t *DVDOpen( const char *ppath )
cdir = -1;
if( retval == -1 ) {
#if defined(_XBMC)
- perror("libdvdread: failed to reset working directory to \".\""); /* but ignore error */
+ fprintf( stderr, "libdvdread: failed to reset working directory to \".\": %s\n", strerror(errno)); /* but ignore error */
#else
goto DVDOpen_error;
#endif // _XBMC