Mercurial > libdvdread4.hg
comparison dvd_reader.c @ 55:950bb037bedb src
in OS2 and WIN32 when CSS is not available print the correct message using path rather than dev_name; patch by komh chollium net
| author | nicodvb |
|---|---|
| date | Tue, 20 Jul 2010 08:09:41 +0000 |
| parents | de60b270bd83 |
| children | af0a1be87264 |
comparison
equal
deleted
inserted
replaced
| 54:de60b270bd83 | 55:950bb037bedb |
|---|---|
| 540 "CSS authentication not available.\n", dev_name ); | 540 "CSS authentication not available.\n", dev_name ); |
| 541 } | 541 } |
| 542 #else | 542 #else |
| 543 if( !auth_drive ) { | 543 if( !auth_drive ) { |
| 544 fprintf( stderr, "libdvdread: Device %s inaccessible, " | 544 fprintf( stderr, "libdvdread: Device %s inaccessible, " |
| 545 "CSS authentication not available.\n", dev_name ); | 545 "CSS authentication not available.\n", path ); |
| 546 } | 546 } |
| 547 #endif | 547 #endif |
| 548 | 548 |
| 549 free( dev_name ); | 549 free( dev_name ); |
| 550 dev_name = NULL; | 550 dev_name = NULL; |
