Blame SOURCES/cdrkit-1.1.11-kernel-release.patch
|
|
8940a5 |
diff -up cdrkit-1.1.11/libusal/scsi-linux-sg.c.sfdc01983864 cdrkit-1.1.11/libusal/scsi-linux-sg.c
|
|
|
8940a5 |
--- cdrkit-1.1.11/libusal/scsi-linux-sg.c.sfdc01983864 2017-12-12 08:55:08.000000000 +0100
|
|
|
8940a5 |
+++ cdrkit-1.1.11/libusal/scsi-linux-sg.c 2017-12-12 09:00:57.000000000 +0100
|
|
|
8940a5 |
@@ -251,7 +251,7 @@ static BOOL get_max_secs(char *dirpath,
|
|
|
8940a5 |
BOOL check_linux_26() {
|
|
|
8940a5 |
int gen, tmp;
|
|
|
8940a5 |
struct utsname buf;
|
|
|
8940a5 |
- return ( 0==uname( &buf ) && sscanf(buf.release, "%d.%d", &gen, &tmp)>1 && tmp>=6);
|
|
|
8940a5 |
+ return ( 0==uname( &buf ) && sscanf(buf.release, "%d.%d", &gen, &tmp)>1 && tmp>=6 && gen == 2);
|
|
|
8940a5 |
}
|
|
|
8940a5 |
|
|
|
8940a5 |
int sg_open_excl(char *device, int mode, BOOL beQuiet)
|