diff options
author | Philippe Reynes <philippe.reynes@softathome.com> | 2020-11-13 15:15:18 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-11-19 09:45:49 -0500 |
commit | 26927493161e16d90101c8a6abae551597d46e72 (patch) | |
tree | 30aecebb0ac1447375653d268691a5d79f269e0f /tools/mips-relocs.c | |
parent | cc34f04efd63dfdd31ef2dbfd46c15fb485b2888 (diff) | |
download | u-boot-26927493161e16d90101c8a6abae551597d46e72.tar.gz u-boot-26927493161e16d90101c8a6abae551597d46e72.tar.xz u-boot-26927493161e16d90101c8a6abae551597d46e72.zip |
tools: image-host.c: use correct variable for strerrno
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@softathome.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/mips-relocs.c')
0 files changed, 0 insertions, 0 deletions