commit | 4ec40da7496ca9ee83a6c20c8ff7a6964e70a7df | [log] [tgz] |
---|---|---|
author | Philippe Reynes <philippe.reynes@softathome.com> | Fri Nov 13 15:15:18 2020 +0100 |
committer | Tom Rini <trini@konsulko.com> | Thu Nov 19 09:45:49 2020 -0500 |
tree | 30aecebb0ac1447375653d268691a5d79f269e0f | |
parent | 95f2ab2462cfc251b0e86e136b2c599c2c2bb525 [diff] |
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>