From: Tom Rini Date: Thu, 19 Nov 2020 20:38:50 -0500 Subject: [PATCH] tools: image-host.c: use correct variable for strerrno In-Reply-To: <20201113141518.31032-1-philippe.reynes@softathome.com> References: <20201113141518.31032-1-philippe.reynes@softathome.com> Message-ID: <20201120013850.GN32272@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Nov 13, 2020 at 03:15:18PM +0100, Philippe Reynes 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 > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: