From c5e5f4ef559418c1aa7a00bc12bd1a8523d95d95 Mon Sep 17 00:00:00 2001 From: vbendeb Date: Tue, 15 Jun 2010 18:54:26 -0700 Subject: [PATCH] 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 --- utility/sign_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utility/sign_image.c b/utility/sign_image.c index 51628e3143..672e47ff40 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 " " \n"; - printf(help_mesg); + printf("%s", help_mesg); } int SignAndWriteImage(uint64_t fw_version, VbKeyBlockHeader* wrapper_kb,