The code compiled fine on the desktop, but causes a warning in the chroot environment, which in turn causes make to stop.

The fix is to use an explicit format statement.

Tested in chroot environment for x86-generic - was failing before the fix and passes after the fix.

TBR: msb

Review URL: http://codereview.chromium.org/2808009
This commit is contained in:
vbendeb
2010-06-15 18:54:26 -07:00
parent a55e5ca76c
commit c5e5f4ef55

View File

@@ -20,7 +20,7 @@ static void usage()
static char* help_mesg =
"Usage: sign_image <fw_version> <fw_key_block> <signing_key> "
"<kernel_public_key> <firmware_file> <output_file>\n";
printf(help_mesg);
printf("%s", help_mesg);
}
int SignAndWriteImage(uint64_t fw_version, VbKeyBlockHeader* wrapper_kb,