brasero/brasero-0.6.1-SG_FLAG_LUN_INHIBIT.patch

13 lines
556 B
Diff

diff -Nru brasero-0.6.1.orig/src/scsi/scsi-sg.c brasero-0.6.1/src/scsi/scsi-sg.c
--- brasero-0.6.1.orig/src/scsi/scsi-sg.c 2007-08-25 15:16:23.000000000 +0200
+++ brasero-0.6.1/src/scsi/scsi-sg.c 2007-12-26 17:34:41.000000000 +0100
@@ -44,7 +44,7 @@
memset (&sense_buffer, 0, sizeof (sense_buffer));
command->interface_id = 'S'; /* mandatory */
- command->flags = SG_FLAG_LUN_INHIBIT|SG_FLAG_DIRECT_IO;
+ command->flags = SG_FLAG_UNUSED_LUN_INHIBIT|SG_FLAG_DIRECT_IO;
/* where to output the scsi sense buffer */
command->sbp = sense_buffer;