kernel32: Allow any amount of whitespace between the words ANSI and SCSI in /proc/scsi/scsi.
This commit is contained in:
parent
ebe2ac4879
commit
ce0da3e75f
|
@ -313,7 +313,7 @@ static int SCSI_getprocentry( FILE * procfile, struct LinuxProcScsiDevice * dev
|
||||||
}
|
}
|
||||||
|
|
||||||
result = fscanf( procfile,
|
result = fscanf( procfile,
|
||||||
" Type:%*3[ ]%32c%*1[ ]ANSI%*1[ ]SCSI%*1[ ]revision:%*1[ ]%x\n",
|
" Type:%*3[ ]%32c%*1[ ]ANSI SCSI%*1[ ]revision:%*1[ ]%x\n",
|
||||||
dev->type,
|
dev->type,
|
||||||
&dev->ansirev );
|
&dev->ansirev );
|
||||||
if( result != 2 )
|
if( result != 2 )
|
||||||
|
|
Loading…
Reference in New Issue