main: strdup command line arguments that are modified
authorFelix Fietkau <nbd@openwrt.org>
Sat, 22 Mar 2014 19:28:17 +0000 (20:28 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 22 Mar 2014 19:32:29 +0000 (20:32 +0100)
commit31b459cb1d0ba3280cbc3fc06ce6fab903c07da6
treea065c15c16611897e0d9cc00ea9035896dc97e20
parentf9dad9ffdd41c00d1fc7420f2f55983c7f6df8bc
main: strdup command line arguments that are modified

This ensures that the process will show the correct command line in ps

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
main.c