aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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