Improved error message for erase failures
This commit is contained in:
parent
989ba0c13f
commit
f25a65c028
@ -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…
Reference in New Issue
Block a user