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
					
				|  | @ -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 */ | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue