mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 10:14:55 +00:00
Fix incorrect format strings
In many cases format strings in vboot_reference do not match their
parameters, which causes all kind of ugly results when examining debug
output.
Enforce proper format verification.
CQ-DEPEND=CL:65396
BRANCH=pit
BUG=none
TEST=manual
. compiled cleanly in vboot_reference, observed debug printouts
making sense.
Change-Id: I58d5ba1f9097ef9922fbaeb7a9946aadf5eb8617
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/65394
This commit is contained in:
committed by
ChromeBot
parent
53710471b5
commit
7aa250f2db
@@ -372,7 +372,8 @@ void VbExError(const char *format, ...);
|
||||
/**
|
||||
* Output a debug message. Supports printf()-style formatting.
|
||||
*/
|
||||
void VbExDebug(const char *format, ...);
|
||||
void VbExDebug(const char *format, ...)
|
||||
__attribute__ ((format (__printf__, 1, 2)));
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Memory (from utility.h) */
|
||||
|
||||
Reference in New Issue
Block a user