summaryrefslogtreecommitdiff
path: root/busybox/busybox-1.00-rc1/console.patch
diff options
context:
space:
mode:
Diffstat (limited to 'busybox/busybox-1.00-rc1/console.patch')
-rw-r--r--busybox/busybox-1.00-rc1/console.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/busybox/busybox-1.00-rc1/console.patch b/busybox/busybox-1.00-rc1/console.patch
new file mode 100644
index 0000000000..d57bdfbe89
--- /dev/null
+++ b/busybox/busybox-1.00-rc1/console.patch
@@ -0,0 +1,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;