Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: utility/sign_image.c

Issue 2808009: Change printf invocation to use format statement. (Closed) Base URL: ssh://git@chromiumos-git/vboot_reference.git
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utility/sign_image.c
diff --git a/utility/sign_image.c b/utility/sign_image.c
index 51628e3143ad9aebe46e5302cc33eace7e2c49fc..672e47ff40d9b842a3c6562b929efcf3d98de848 100644
--- a/utility/sign_image.c
+++ b/utility/sign_image.c
@@ -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,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698