]> git.baikalelectronics.ru Git - uboot.git/commit
mkeficapsule: Correct printf() strings
authorSimon Glass <sjg@chromium.org>
Sun, 7 Feb 2021 21:27:01 +0000 (14:27 -0700)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 16 Mar 2021 08:37:04 +0000 (09:37 +0100)
commitedcc2269ac8ce48faa1f086aa4d4bbdc1de9b82d
tree178d4cc12e594e5592377c776d6e0ab789b3bfbf
parent317f775cc62cc5bc779fc2a9e1e380b32ea78a2b
mkeficapsule: Correct printf() strings

Use %z when printing size_t values. This avoids errors on 32-bit
machines.

Signed-off-by: Simon Glass <sjg@chromium.org>
Use a conversion to size_t for printing stat.st_size.
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
tools/mkeficapsule.c