Commit 97d649c1 authored by Alexander Viro's avatar Alexander Viro Committed by Russell King

[PATCH] change_floppy() fix

Needed both in 2.4 and 2.5
parent 831f51a9
......@@ -374,7 +374,7 @@ static void __init change_floppy(char *fmt, ...)
va_start(args, fmt);
vsprintf(buf, fmt, args);
va_end(args);
fd = open("/dev/root", O_RDWR, 0);
fd = open("/dev/root", O_RDWR | O_NDELAY, 0);
if (fd >= 0) {
sys_ioctl(fd, FDEJECT, 0);
close(fd);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment