summaryrefslogtreecommitdiff
path: root/busybox/busybox-1.00-rc2/console.patch
blob: d57bdfbe8922b360cedc4291d43765bc734ba4e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- busybox-1.00-pre2/libbb/get_console.c~console
+++ busybox-1.00-pre2/libbb/get_console.c
@@ -86,10 +86,6 @@
 {
 	int fd;
 
-	if (-1 == (fd = open_a_console("/dev/console")))
-			return -1;
-		else
-			return fd;
 	fd = open_a_console(CURRENT_TTY);
 	if (fd >= 0)
 		return fd;