kdrive: Move a close() to the right place so we don't close(-1) normally.
Bug #18343
This commit is contained in:
@@ -91,8 +91,8 @@ LinuxInit (void)
|
|||||||
{
|
{
|
||||||
FatalError("xf86OpenConsole: Cannot find a free VT\n");
|
FatalError("xf86OpenConsole: Cannot find a free VT\n");
|
||||||
}
|
}
|
||||||
}
|
|
||||||
close(fd);
|
close(fd);
|
||||||
|
}
|
||||||
|
|
||||||
sprintf(vtname,"/dev/tty%d",vtno); /* /dev/tty1-64 */
|
sprintf(vtname,"/dev/tty%d",vtno); /* /dev/tty1-64 */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user