]> git.pld-linux.org Git - packages/busybox.git/blob - busybox-logconsole.patch
8811785f19f28573a9411b3947db4eaa832f89f4
[packages/busybox.git] / busybox-logconsole.patch
1 diff -urN busybox-1.00-pre2/include/libbb.h busybox-1.00-pre2.org/include/libbb.h
2 --- busybox-1.00-pre2/include/libbb.h   2003-08-02 23:40:57.000000000 +0200
3 +++ busybox-1.00-pre2.org/include/libbb.h       2003-08-02 23:45:09.000000000 +0200
4 @@ -346,7 +346,7 @@
5  # define VC_2 "/dev/vc/2"
6  # define VC_3 "/dev/vc/3"
7  # define VC_4 "/dev/vc/4"
8 -# define VC_5 "/dev/vc/5"
9 +# define VC_12 "/dev/vc/12"
10  #if defined(__sh__) || defined(__H8300H__) || defined(__H8300S__)
11  /* Yes, this sucks, but both SH (including sh64) and H8 have a SCI(F) for their
12     respective serial ports .. as such, we can't use the common device paths for
13 @@ -367,7 +367,7 @@
14  # define VC_2 "/dev/tty2"
15  # define VC_3 "/dev/tty3"
16  # define VC_4 "/dev/tty4"
17 -# define VC_5 "/dev/tty5"
18 +# define VC_12 "/dev/tty12"
19  #if defined(__sh__) || defined(__H8300H__) || defined(__H8300S__)
20  #  define SC_0 "/dev/ttySC0"
21  #  define SC_1 "/dev/ttySC1"
22 diff -urN busybox-1.00-pre2/init/init.c busybox-1.00-pre2.org/init/init.c
23 --- busybox-1.00-pre2/init/init.c       2003-08-02 23:40:57.000000000 +0200
24 +++ busybox-1.00-pre2.org/init/init.c   2003-08-02 23:45:30.000000000 +0200
25 @@ -85,7 +85,7 @@
26  static struct init_action *init_action_list = NULL;
27  
28  #if !ENABLE_FEATURE_INIT_SYSLOG
29 -static const char *log_console = VC_5;
30 +static const char *log_console = VC_12;
31  #endif
32  #if !ENABLE_DEBUG_INIT
33  static sig_atomic_t got_cont = 0;
34
This page took 0.060612 seconds and 2 git commands to generate.