kdrive: Move a close() to the right place so we don't close(-1) normally.

Bug #18343
This commit is contained in:
Jim Huang 2009-02-01 09:19:20 -08:00 committed by Eric Anholt
parent 0055fe66d5
commit 66a6fbbfa3

View File

@ -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 */