[PATCH] tools: image-host.c: use correct variable for strerrno
Simon Glass
sjg at chromium.org
Tue Nov 17 00:53:09 CET 2020
Hi Philippe,
On Fri, 13 Nov 2020 at 07:15, Philippe Reynes
<philippe.reynes at softathome.com> 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>
> ---
> tools/image-host.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list