Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
97d649c1
Commit
97d649c1
authored
May 02, 2002
by
Alexander Viro
Committed by
Russell King
May 02, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] change_floppy() fix
Needed both in 2.4 and 2.5
parent
831f51a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
init/do_mounts.c
init/do_mounts.c
+1
-1
No files found.
init/do_mounts.c
View file @
97d649c1
...
@@ -374,7 +374,7 @@ static void __init change_floppy(char *fmt, ...)
...
@@ -374,7 +374,7 @@ static void __init change_floppy(char *fmt, ...)
va_start
(
args
,
fmt
);
va_start
(
args
,
fmt
);
vsprintf
(
buf
,
fmt
,
args
);
vsprintf
(
buf
,
fmt
,
args
);
va_end
(
args
);
va_end
(
args
);
fd
=
open
(
"/dev/root"
,
O_RDWR
,
0
);
fd
=
open
(
"/dev/root"
,
O_RDWR
|
O_NDELAY
,
0
);
if
(
fd
>=
0
)
{
if
(
fd
>=
0
)
{
sys_ioctl
(
fd
,
FDEJECT
,
0
);
sys_ioctl
(
fd
,
FDEJECT
,
0
);
close
(
fd
);
close
(
fd
);
...
...
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