diff options
| author | Peng Wu <alexepico@gmail.com> | 2012-02-06 16:30:52 +0800 |
|---|---|---|
| committer | Peng Wu <alexepico@gmail.com> | 2012-02-06 16:30:52 +0800 |
| commit | 34909d3887a7ac3f423f00ec0913a2da6447e374 (patch) | |
| tree | f2481a4e62ffc4c40a847027aed57c54641c88e3 /tests/storage/test_parser.cpp | |
| parent | a0095d85a122f7b4972471c9d7b0da414044a375 (diff) | |
| download | libpinyin-34909d3887a7ac3f423f00ec0913a2da6447e374.tar.gz libpinyin-34909d3887a7ac3f423f00ec0913a2da6447e374.tar.xz libpinyin-34909d3887a7ac3f423f00ec0913a2da6447e374.zip | |
fixes format-security warnings
Diffstat (limited to 'tests/storage/test_parser.cpp')
| -rw-r--r-- | tests/storage/test_parser.cpp | 2 |
1 files changed, 1 insertions, 1 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 []) |
