summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLogan Chien <loganchien@google.com>2011-11-22 12:50:13 +0800
committerLogan Chien <loganchien@google.com>2011-11-22 12:50:13 +0800
commit422ed20c5b1e4d69cf2efd1e16a979ca42512509 (patch)
tree1d3e15c0f558a1d99e3b5eda5c24ab468c843047
parent2132882bcef9027e7ca16d4bc3cfea095695ac9f (diff)
downloadlinkloader-422ed20c5b1e4d69cf2efd1e16a979ca42512509.tar.gz
Eliminate a warning while generating the test cases.
Change-Id: Iee7a98e21b6006eeb7f95d465727b5f5e6f10bd5
-rw-r--r--tests/images/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/images/test.c b/tests/images/test.c
index 446e645..01b69a1 100644
--- a/tests/images/test.c
+++ b/tests/images/test.c
@@ -16,7 +16,7 @@
#include<stdio.h>
static void hello_function(const char *ptr){
- printf(ptr);
+ printf("%s", ptr);
}
int my_add(int para_x, int para_y){
return para_x + para_y;