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
a9a6d00b
Commit
a9a6d00b
authored
Jun 06, 1999
by
Uwe Bonnes
Committed by
Alexandre Julliard
Jun 06, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ASPI_ExecScsiCmd: better return value and verbose error when no device
found.
parent
38d7da8d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
winaspi32.c
dlls/wnaspi32/winaspi32.c
+4
-3
No files found.
dlls/wnaspi32/winaspi32.c
View file @
a9a6d00b
...
...
@@ -180,9 +180,10 @@ ASPI_ExecScsiCmd(SRB_ExecSCSICmd *lpPRB)
fd
=
ASPI_OpenDevice
(
lpPRB
);
if
(
fd
==
-
1
)
{
ERR
(
aspi
,
"Failed: could not open device. Device permissions !?
\n
"
);
lpPRB
->
SRB_Status
=
SS_ERR
;
return
SS_ERR
;
ERR
(
aspi
,
"Failed: could not open device c%01dt%01dd%01d. Device permissions !?
\n
"
,
lpPRB
->
SRB_HaId
,
lpPRB
->
SRB_Target
,
lpPRB
->
SRB_Lun
);
lpPRB
->
SRB_Status
=
SS_NO_DEVICE
;
return
SS_NO_DEVICE
;
}
sg_hd
=
NULL
;
...
...
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