Browse Source

Added error message in case of failed eject

trunk@386
Thomas Schmitt 16 years ago
parent
commit
c343d2f9b8
  1. 11
      cdrskin/cdrskin.c
  2. 2
      cdrskin/cdrskin_timestamp.h

11
cdrskin/cdrskin.c

@ -3669,10 +3669,15 @@ int Cdrskin_eject(struct CdrskiN *skin, int flag)
if(!skin->do_eject)
return(1);
if(Cdrskin_grab_drive(skin,2)>0)
if(Cdrskin_grab_drive(skin,2)>0) {
Cdrskin_release_drive(skin,1);
if(skin->verbosity>=Cdrskin_verbose_debuG)
ClN(fprintf(stderr,"cdrskin_debug: supposing drive eject to have worked\n"));
if(skin->verbosity>=Cdrskin_verbose_debuG)
ClN(fprintf(stderr,
"cdrskin_debug: supposing drive eject to have worked\n"));
} else {
fprintf(stderr,"cdrskin: SORRY : Failed to finally eject tray.\n");
return(0);
}
return(1);
#else /* Cdrskin_burn_drive_eject_brokeN */

2
cdrskin/cdrskin_timestamp.h

@ -1 +1 @@
#define Cdrskin_timestamP "2006.09.19.124540"
#define Cdrskin_timestamP "2006.09.19.140716"

Loading…
Cancel
Save