Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
de9d974f
Commit
de9d974f
authored
Nov 21, 2005
by
Saulius Krasuckas
Committed by
Alexandre Julliard
Nov 21, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- ANSI SCSI revision is a hex number.
- Be more verbose with parser ERRs.
parent
f9a27638
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
oldconfig.c
dlls/kernel/oldconfig.c
+4
-4
No files found.
dlls/kernel/oldconfig.c
View file @
de9d974f
...
...
@@ -301,7 +301,7 @@ static int SCSI_getprocentry( FILE * procfile, struct LinuxProcScsiDevice * dev
}
if
(
result
!=
4
)
{
ERR
(
"bus id line scan count error
\n
"
);
ERR
(
"bus id line scan count error
(fscanf returns %d, expected 4)
\n
"
,
result
);
return
0
;
}
result
=
fscanf
(
procfile
,
...
...
@@ -311,17 +311,17 @@ static int SCSI_getprocentry( FILE * procfile, struct LinuxProcScsiDevice * dev
dev
->
rev
);
if
(
result
!=
3
)
{
ERR
(
"model line scan count error
\n
"
);
ERR
(
"model line scan count error
(fscanf returns %d, expected 3)
\n
"
,
result
);
return
0
;
}
result
=
fscanf
(
procfile
,
" Type:%*3[ ]%32c%*1[ ]ANSI%*1[ ]SCSI%*1[ ]revision:%*1[ ]%
d
\n
"
,
" Type:%*3[ ]%32c%*1[ ]ANSI%*1[ ]SCSI%*1[ ]revision:%*1[ ]%
x
\n
"
,
dev
->
type
,
&
dev
->
ansirev
);
if
(
result
!=
2
)
{
ERR
(
"SCSI type line scan count error
\n
"
);
ERR
(
"SCSI type line scan count error
(fscanf returns %d, expected 2)
\n
"
,
result
);
return
0
;
}
/* Since we fscanf with %XXc instead of %s.. put a NULL at end */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment