Adjusted libcdio system adapter to FreeBSD peculiarities

This commit is contained in:
2010-03-29 10:33:05 +00:00
parent e6029ae238
commit fafc190fd4
5 changed files with 65 additions and 22 deletions

View File

@ -1928,6 +1928,8 @@ int sg_issue_command(struct burn_drive *d, struct command *c)
switch (scsi_error(d, s.sbp, s.sb_len_wr)) {
case RETRY:
done = 0;
if (burn_sg_log_scsi & 3)
scsi_log_cmd(c,fp,0);
break;
case FAIL:
done = 1;