Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

libdvdread: replace perror by fprintf so that it gets picked up in xb…

…mc logs
  • Loading branch information...
commit cffa18401f642b35a91de7e5b1e184f1dc0bef6d 1 parent 6eff7a8
Voyager1 Voyager1 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/libdvd/libdvdread/src/dvd_reader.c
2  lib/libdvd/libdvdread/src/dvd_reader.c
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.