From f617567e03af016c543512ccd19b8a76e30fec1e Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 10 Apr 2007 08:17:07 +0000 Subject: [PATCH] Fixed bug with drive_scsi_dev_family= introduced by revision 796 (fcntl lock) --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/init.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 0dd6c89..f48b979 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2007.04.09.111215" +#define Cdrskin_timestamP "2007.04.10.081855" diff --git a/libburn/init.c b/libburn/init.c index 5b72b1f..7edb981 100644 --- a/libburn/init.c +++ b/libburn/init.c @@ -134,7 +134,7 @@ void burn_preset_device_open(int exclusive, int blocking, int abort_on_busy) return; burn_sg_open_o_excl = exclusive & 3; burn_sg_fcntl_f_setlk = !!(exclusive & 32); - burn_sg_use_family = (exclusive >> 2) & 15; + burn_sg_use_family = (exclusive >> 2) & 7; burn_sg_open_o_nonblock = !blocking; burn_sg_open_abort_busy = !!abort_on_busy; }