From 2f0bf2d0af5b9b749e6e195829fb7093fc8ab930 Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 18 Dec 2009 08:45:12 +0000 Subject: Fix compiler warnings "format not a string literal and no format arguments". Actually exposed a bug in luaresume.cc --- server/src/pracrod.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server/src/pracrod.cc') diff --git a/server/src/pracrod.cc b/server/src/pracrod.cc index 75f58a6..d17001c 100644 --- a/server/src/pracrod.cc +++ b/server/src/pracrod.cc @@ -202,13 +202,13 @@ int main(int argc, char *argv[]) case '?': case 'h': - printf(version_str); + printf("%s", version_str); printf(usage_str, argv[0]); return 0; case 'v': - printf(version_str); - printf(copyright_str); + printf("%s", version_str); + printf("%s", copyright_str); return 0; default: -- cgit v1.2.3