Hans Leidekker : kernel32: Allow any amount of whitespace between the words ANSI and SCSI in /proc/ scsi/scsi.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Apr 12 09:59:54 CDT 2007


Module: wine
Branch: master
Commit: ce0da3e75f07765f33b52173b52d0557563b8678
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ce0da3e75f07765f33b52173b52d0557563b8678

Author: Hans Leidekker <hans at it.vu.nl>
Date:   Wed Apr 11 16:00:58 2007 +0200

kernel32: Allow any amount of whitespace between the words ANSI and SCSI in /proc/scsi/scsi.

---

 dlls/kernel32/oldconfig.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/kernel32/oldconfig.c b/dlls/kernel32/oldconfig.c
index c386450..cf892e8 100644
--- a/dlls/kernel32/oldconfig.c
+++ b/dlls/kernel32/oldconfig.c
@@ -313,7 +313,7 @@ static int SCSI_getprocentry( FILE * procfile, struct LinuxProcScsiDevice * dev
     }
 
     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->ansirev );
     if( result != 2 )




More information about the wine-cvs mailing list