diff options
author | Patrik Ryd <patrik.ryd@linaro.org> | 2011-12-09 13:25:56 +0100 |
---|---|---|
committer | Ubuntu <vishal.bhoj@linaro.org> | 2014-06-05 10:01:57 +0000 |
commit | 05652176d8b46a88862034e8dcfa56938ee259f3 (patch) | |
tree | 68b7b392176864302a5e2ce0bc7994ec15169213 | |
parent | c94924b6838d6af505b4649b9e3109f2d1afa404 (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/ueventd.c b/init/ueventd.c index a41c31e2..766bf664 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 |