[PATCH 1/1] cmd: wrong printf() code in do_test_stackprot_fail()

Tom Rini trini at konsulko.com
Fri Feb 11 18:07:36 CET 2022


On Fri, Feb 04, 2022 at 10:50:04AM +0100, Heinrich Schuchardt wrote:

> strlen() returns size_t. So we should use %zu to print it.
> This avoids incorrect output on 32bit systems.
> 
> Fixes: 2fc62f299174 ("stackprot: Make our test a bit more complex")
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>

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: <https://lists.denx.de/pipermail/u-boot/attachments/20220211/61c7e701/attachment.sig>


More information about the U-Boot mailing list