cdrkit/cdrkit-1.1.6-oldsyn.patch

20 lines
798 B
Diff
Raw Normal View History

diff -ur cdrkit-1.1.6/libusal/scsi-linux-sg.c cdrkit-1.1.6.oldsyn/libusal/scsi-linux-sg.c
--- cdrkit-1.1.6/libusal/scsi-linux-sg.c 2008-02-21 19:08:29.000000000 +0100
+++ cdrkit-1.1.6.oldsyn/libusal/scsi-linux-sg.c 2008-02-21 19:08:11.000000000 +0100
@@ -592,15 +592,6 @@
if (nopen > 0 && usalp->errstr)
usalp->errstr[0] = '\0';
- /* that's crap, should not be reached in non-scan mode.
- * Let's see whether it can be mapped to an atapi
- * device to emulate some old cludge's behaviour. */
- if(!in_scanmode && busno < 1000 && busno >=0) {
- fake_atabus=1;
- fprintf(stderr, "Unable to open this SCSI ID. Trying to map to old ATA syntax."
- "This workaround will disappear in the near future. Fix your configuration.");
- goto retry_scan_open;
- }
}
}