Improved error message for erase failures

1.4.0
Thomas Schmitt 8 years ago
parent 0c9293f9c6
commit 3b5906b30c
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 8
      libburn/spc.c

@ -1 +1 @@
#define Cdrskin_timestamP "2014.07.31.123105"
#define Cdrskin_timestamP "2014.08.14.085604"

@ -1390,6 +1390,14 @@ enum response scsi_error_msg(struct burn_drive *d, unsigned char *sense,
else
break;
goto return_fail;
case 0x51:
if (*ascq == 0)
sprintf(msg, "Erase failure");
else if (*ascq == 1)
sprintf(msg, "Erase failure. Incomplete erase operation");
else
break;
goto return_fail;
case 0x57:
if (*ascq == 0)
sprintf(msg, "Unable to recover Table-of-Content");

Loading…
Cancel
Save