[PATCH] tools: image-host.c: use correct variable for strerrno

Tom Rini trini at konsulko.com
Fri Nov 20 02:38:50 CET 2020


On Fri, Nov 13, 2020 at 03:15:18PM +0100, Philippe Reynes wrote:

> In the function get_random_data, strerrno is called with
> the variable ret (which is the return of the function
> clock_gettime). It should be called with errnor. This
> commit fixes this mistake.
> 
> Reported-by: Coverity (CID: 312956)
> Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201119/d090001d/attachment-0001.sig>


More information about the U-Boot mailing list