summaryrefslogtreecommitdiffstats
path: root/tests/storage
diff options
context:
space:
mode:
Diffstat (limited to 'tests/storage')
-rw-r--r--tests/storage/test_parser.cpp2
-rw-r--r--tests/storage/test_parser2.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/storage/test_parser.cpp b/tests/storage/test_parser.cpp
index a0045e6..7f10d78 100644
--- a/tests/storage/test_parser.cpp
+++ b/tests/storage/test_parser.cpp
@@ -57,7 +57,7 @@ static const char *help_msg =
" zy-et26\n";
void print_help(){
- printf(help_msg);
+ printf("%s", help_msg);
}
int main (int argc, char * argv [])
diff --git a/tests/storage/test_parser2.cpp b/tests/storage/test_parser2.cpp
index 276a3a9..7c7058c 100644
--- a/tests/storage/test_parser2.cpp
+++ b/tests/storage/test_parser2.cpp
@@ -48,7 +48,7 @@ static const char * help_msg =
void print_help(){
- printf(help_msg);
+ printf("%s", help_msg);
}
int main(int argc, char * argv[]) {