]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/busybox/busybox-1.00/console.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / busybox / busybox-1.00 / console.patch
1 --- busybox-1.00-pre2/libbb/get_console.c~console
2 +++ busybox-1.00-pre2/libbb/get_console.c
3 @@ -86,10 +86,6 @@
4  {
5         int fd;
6  
7 -       if (-1 == (fd = open_a_console("/dev/console")))
8 -                       return -1;
9 -               else
10 -                       return fd;
11         fd = open_a_console(CURRENT_TTY);
12         if (fd >= 0)
13                 return fd;