init: Increase buffer size for serialno and other properties set from kernel command line
Fixes problem with last character truncated for 32 byte serial numbers. Change-Id: Ia8c7cde680cd4aefbaea7ff1969eb0d95d4ebd86 Signed-off-by: Mike Lockwood <lockwood@android.com>
This commit is contained in:
parent
72410ccfaa
commit
ff0aaa3cab
1 changed files with 6 additions and 6 deletions
12
init/init.c
12
init/init.c
|
|
@ -59,12 +59,12 @@ static int bootchart_count;
|
|||
#endif
|
||||
|
||||
static char console[32];
|
||||
static char serialno[32];
|
||||
static char bootmode[32];
|
||||
static char baseband[32];
|
||||
static char carrier[32];
|
||||
static char bootloader[32];
|
||||
static char hardware[32];
|
||||
static char serialno[PROP_VALUE_MAX];
|
||||
static char bootmode[PROP_VALUE_MAX];
|
||||
static char baseband[PROP_VALUE_MAX];
|
||||
static char carrier[PROP_VALUE_MAX];
|
||||
static char bootloader[PROP_VALUE_MAX];
|
||||
static char hardware[PROP_VALUE_MAX];
|
||||
static unsigned revision = 0;
|
||||
static char qemu[32];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue