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>
diff --git a/init/ueventd.c b/init/ueventd.c
index a41c31e..766bf66 100644
--- a/init/ueventd.c
+++ b/init/ueventd.c
@@ -51,7 +51,7 @@
{
struct pollfd ufd;
int nr;
- char tmp[32];
+ char tmp[45];
/*
* init sets the umask to 077 for forked processes. We need to