linux-user: Check dump_write() return in elf_core_dump()
commit772034b63e9c0caf6c92e31413f2d8df2ee69c88
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 12 Jul 2016 12:02:17 +0000 (12 13:02 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Wed, 21 Sep 2016 11:28:03 +0000 (21 14:28 +0300)
tree0c96a6bbee795fc6ba592e7df5c230afd709a9ca
parente5a869ed569a97fa676e9827952629086ec41f4e
linux-user: Check dump_write() return in elf_core_dump()

One of the calls to dump_write() in elf_core_dump() was missing
a check for failure (spotted by Coverity). Add the check to
bring it into line with the other calls from this function.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/elfload.c