uml: work around mangled parameter handling for ubd
[openwrt.git] / target / linux / uml / patches-3.8 / 100-boot-parameter-mangling.patch
1 --- pristine-linux-3.4.38/init/main.c   2013-03-28 21:12:41.000000000 +0200
2 +++ build-linux-3.4.38/init/main.c      2013-04-04 12:25:59.987999573 +0300
3 @@ -743,7 +743,7 @@
4         extern const struct kernel_param __start___param[], __stop___param[];
5         initcall_t *fn;
6  
7 -       strcpy(static_command_line, saved_command_line);
8 +       /* strcpy(static_command_line, saved_command_line); */
9         parse_args(initcall_level_names[level],
10                    static_command_line, __start___param,
11                    __stop___param - __start___param,