elf: Fix uninitialized variable for _dl_write
commitdf5f473ed5ee95e3179fcb239e33e971619626cd
authorShuo Wang <wangshuo47@huawei.com>
Tue, 24 Nov 2020 19:42:18 +0000 (24 16:42 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 24 Nov 2020 19:54:58 +0000 (24 16:54 -0300)
tree24da26e2b37eeab9fcb916e1921d18328a0d82bc
parent1e0a7fd0997ad5454d3fee480ceb392c4b49c064
elf: Fix uninitialized variable for _dl_write

Variable ret in elf/dl-write.c is uninitialized, which should get
return value from __writev.
elf/dl-write.c