mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-04 23:30:33 +01:00
kdrive: Move a close() to the right place so we don't close(-1) normally.
Bug #18343
This commit is contained in:
parent
0055fe66d5
commit
66a6fbbfa3
1 changed files with 1 additions and 1 deletions
|
|
@ -91,8 +91,8 @@ LinuxInit (void)
|
|||
{
|
||||
FatalError("xf86OpenConsole: Cannot find a free VT\n");
|
||||
}
|
||||
close(fd);
|
||||
}
|
||||
close(fd);
|
||||
|
||||
sprintf(vtname,"/dev/tty%d",vtno); /* /dev/tty1-64 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue