utrace: Fix environment initialization
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 12 Sep 2017 11:12:33 +0000 (13:12 +0200)
committerJohn Crispin <john@phrozen.org>
Thu, 28 Sep 2017 06:26:56 +0000 (08:26 +0200)
commit5acaf15b4e06e971e5a80d49f47d7eec54abe8df
tree4225fbee2b7003a43a81663520519a48885e6b1a
parent54b46a351fab736a92221a6f9c750b5f9da499a1
utrace: Fix environment initialization

We want to copy the existing environment instead of the new one to
itself. Other bugs in this code are fixed in the next commit.

Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>
trace/trace.c