Skip to content
Commit 51c7f7e4 authored by Philippe Reynes's avatar Philippe Reynes Committed by Tom Rini
Browse files

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: default avatarPhilippe Reynes <philippe.reynes@softathome.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 85cd3d83
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment