diff options
author | Patrik Ryd <patrik.ryd@linaro.org> | 2013-07-25 15:28:06 +0530 |
---|---|---|
committer | Ubuntu <vishal.bhoj@linaro.org> | 2014-06-05 10:01:57 +0000 |
commit | b67a66ed57290bbb00f6c2e3620f52c304a487da (patch) | |
tree | 166ae7e17394c428a8530bb32a38124b9992505f | |
parent | 05652176d8b46a88862034e8dcfa56938ee259f3 (diff) |
core: Increase the size of variable for the init.<hardware>.rc file name.
The size of hardware is 32 bytes and the tmp variable should fit
'init.' 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: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r-- | init/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c index bd7799e1..a1387061 100644 --- a/init/init.c +++ b/init/init.c @@ -964,7 +964,7 @@ int main(int argc, char **argv) struct pollfd ufds[4]; char *tmpdev; char* debuggable; - char tmp[32]; + char tmp[40]; /* "/init.%s.rc", hardware should fit */ int property_set_fd_init = 0; int signal_fd_init = 0; int keychord_fd_init = 0; |