Obeying burn_set_scsi_logging() with errors of class RETRY

This commit is contained in:
Thomas Schmitt 2010-08-03 09:11:58 +00:00
parent 98b2e06c21
commit d4e4607a84
5 changed files with 5 additions and 5 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2010.08.02.141233"
#define Cdrskin_timestamP "2010.08.03.091119"

View File

@ -966,7 +966,7 @@ int sg_issue_command(struct burn_drive *d, struct command *c)
measurement. Then remove bit1 */
scsi_log_err(c, fp, c->sense,
sense_len > 0 ? sense_len : 18,
0, (c->error != 0) | 2);
0, 1 | 2);
scsi_log_cmd(c,fp,0);
}
break;

View File

@ -698,7 +698,7 @@ int sg_issue_command(struct burn_drive *d, struct command *c)
/* >>> Need own duration time
measurement. Then remove bit1 */
scsi_log_err(c, fp, c->sense, 18, 0,
(c->error != 0) | 2);
1 | 2);
scsi_log_cmd(c,fp,0);
}
break;

View File

@ -1922,7 +1922,7 @@ if(0){
done = 0;
if (burn_sg_log_scsi & 3) {
scsi_log_err(c, fp, s.sbp, s.sb_len_wr,
s.duration, c->error != 0);
s.duration, 1);
scsi_log_cmd(c,fp,0);
}
break;

View File

@ -653,7 +653,7 @@ int sg_issue_command(struct burn_drive *d, struct command *c)
/* >>> Need own duration time
measurement. Then remove bit1 */
scsi_log_err(c, fp, c->sense, 18, 0,
(c->error != 0) | 2);
1 | 2);
scsi_log_cmd(c,fp,0);
}
break;