Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
eaee47e7
Commit
eaee47e7
authored
Apr 19, 2003
by
Michal Janusz Miroslaw
Committed by
Alexandre Julliard
Apr 19, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed typo in comment.
parent
5d730664
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drive.c
files/drive.c
+1
-1
No files found.
files/drive.c
View file @
eaee47e7
...
@@ -666,7 +666,7 @@ int DRIVE_ReadSuperblock (int drive, char * buff)
...
@@ -666,7 +666,7 @@ int DRIVE_ReadSuperblock (int drive, char * buff)
struct
stat
stat_buf
;
struct
stat
stat_buf
;
memset
(
buff
,
0
,
DRIVE_SUPER
);
memset
(
buff
,
0
,
DRIVE_SUPER
);
/* O_NONBLOCK in case we're opening FIFO; we'll be reset i
t later */
/* O_NONBLOCK in case we're opening FIFO; will be rese
t later */
if
((
fd
=
open
(
DOSDrives
[
drive
].
device
,
O_RDONLY
|
O_NOCTTY
|
O_NONBLOCK
))
!=
-
1
)
{
if
((
fd
=
open
(
DOSDrives
[
drive
].
device
,
O_RDONLY
|
O_NOCTTY
|
O_NONBLOCK
))
!=
-
1
)
{
if
(
fstat
(
fd
,
&
stat_buf
)
<
0
)
{
/* shouldn't happen since we just opened that file */
if
(
fstat
(
fd
,
&
stat_buf
)
<
0
)
{
/* shouldn't happen since we just opened that file */
ERR
(
"fstat() failed for opened device '%s' (drive %c:) ! IT SHOULDN'T HAPPEN !!!
\n
"
,
ERR
(
"fstat() failed for opened device '%s' (drive %c:) ! IT SHOULDN'T HAPPEN !!!
\n
"
,
...
...
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