commit | 95f2ab2462cfc251b0e86e136b2c599c2c2bb525 | [log] [tgz] |
---|---|---|
author | Philippe Reynes <philippe.reynes@softathome.com> | Fri Nov 13 16:37:46 2020 +0100 |
committer | Tom Rini <trini@konsulko.com> | Thu Nov 19 09:45:49 2020 -0500 |
tree | c9f172e82f900d2ef7c68106897d6bed24ba07f1 | |
parent | 7b40812106e23140152a4f8370ee3744dd88f9fe [diff] |
tools: image-host.c: use random instead of rand According to the manpage of rand, it is recommended to use random instead of rand. This commit updates the function get_random_data to use random. Reported-by: Coverity (CID: 312953) Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com> Reviewed-by: Simon Glass <sjg@chromium.org>