Corrected dangerous typo with error message production of mmc_read_10()

This commit is contained in:
Thomas Schmitt 2007-08-22 13:46:21 +00:00
parent 74aba7b620
commit ab47b3bb1b
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2007.08.17.081901"
#define Cdrskin_timestamP "2007.08.22.134731"

View File

@ -2819,7 +2819,7 @@ int mmc_read_10(struct burn_drive *d, int start,int amount, struct buffer *buf)
d->issue_command(d, &c);
if (c.error) {
char msg[160];
printf(msg,
sprintf(msg,
"SCSI error on read_10(%d,%d): key=%X asc=%2.2Xh ascq=%2.2Xh",
start, amount,
c.sense[2],c.sense[12],c.sense[13]);