summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrik Ryd <patrik.ryd@linaro.org>2011-12-09 13:25:56 +0100
committerBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>2013-12-12 03:08:03 +0100
commit6ed85e76d480beec94a2fbd037970799cadda0ed (patch)
tree1b1f39b33ce7d732425d52468b738c4cf6592d61
parentb03b79b90120e9518eeac71e8b447616363be907 (diff)
downloadcore-6ed85e76d480beec94a2fbd037970799cadda0ed.tar.gz
core: Increase the size of variable for the uevent.<hardware>.rc file name.
The size of hardware is 32 bytes and the tmp variable should fit 'uevent.' and '.rc' as well. In some cases like for the ST-Ericsson Snowball the 32 bytes were not enouth. hardware = "st-ericssonsnowballplatform" Signed-off-by: Patrik Ryd <patrik.ryd@linaro.org>
-rw-r--r--init/ueventd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/ueventd.c b/init/ueventd.c
index a41c31e23..766bf6642 100644
--- a/init/ueventd.c
+++ b/init/ueventd.c
@@ -51,7 +51,7 @@ int ueventd_main(int argc, char **argv)
{
struct pollfd ufd;
int nr;
- char tmp[32];
+ char tmp[45];
/*
* init sets the umask to 077 for forked processes. We need to