tools: imx8image: check lseek return value
authorPeng Fan <peng.fan@nxp.com>
Mon, 5 Nov 2018 09:53:22 +0000 (09:53 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 6 Nov 2018 10:23:27 +0000 (11:23 +0100)
commitfc61cc2ca3bab8fdf38572eb1ccfa6674999c8b8
tree4009ea2d7496aaa899f5572a9ec0cb624c8e2a62
parent5ef76e59c12c79d106ebda70b710468aa6bd8b75
tools: imx8image: check lseek return value

Check lseek return value.

Fix Coverity CID: 184236 184235 184232

Reported-by: Coverity
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
tools/imx8image.c