state.c: pass ubus commandline is writable buffer to service_start_early()
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 20 Jan 2014 18:06:28 +0000 (18:06 +0000)
committerJohn Crispin <blogic@openwrt.org>
Mon, 20 Jan 2014 18:06:28 +0000 (18:06 +0000)
commit311eb167fce73dbc97c7d9dfcc43a59b5695a8f7
treef9ccbd81f07b4982225dcd8ad0885153b3eb975b
parent2dc572df0e3002263c0a49ebbc329ed1b6c42a01
state.c: pass ubus commandline is writable buffer to service_start_early()

The service_start_early() function uses strtok() on the command line argument,
therfore we cannot pass it constant string literals directly.

Fixes OpenWrt bug #14832

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
state.c