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:
Vadim Bendebury
2013-08-09 16:02:28 -07:00
committed by ChromeBot
parent 53710471b5
commit 7aa250f2db
4 changed files with 11 additions and 9 deletions

View File

@@ -145,7 +145,7 @@ int VbUserConfirms(VbCommonParams *cparams, int space_means_no)
return 1;
break;
case ' ':
VBDEBUG(("%s() - Space (%s)\n", __func__,
VBDEBUG(("%s() - Space (%d)\n", __func__,
space_means_no));
if (space_means_no)
return 0;