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
523fef0c
Commit
523fef0c
authored
Aug 19, 2005
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Aug 19, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable SCSI_getprocentry() on non-Linux platforms which now should be
safe to do.
parent
a03adc74
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
oldconfig.c
dlls/kernel/oldconfig.c
+2
-2
No files found.
dlls/kernel/oldconfig.c
View file @
523fef0c
...
...
@@ -337,7 +337,8 @@ static int SCSI_getprocentry( FILE * procfile, struct LinuxProcScsiDevice * dev
/* create the hardware registry branch */
static
void
create_hardware_branch
(
void
)
{
#ifdef linux
/* The following mostly will work on Linux, but should not cause
* problems on other systems. */
static
const
char
procname_ide_media
[]
=
"/proc/ide/%s/media"
;
static
const
char
procname_ide_model
[]
=
"/proc/ide/%s/model"
;
static
const
char
procname_scsi
[]
=
"/proc/scsi/scsi"
;
...
...
@@ -453,7 +454,6 @@ static void create_hardware_branch(void)
if
(
result
!=
EOF
)
WARN
(
"Incorrect %s format
\n
"
,
procname_scsi
);
fclose
(
procfile
);
#endif
}
...
...
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