summaryrefslogtreecommitdiff
path: root/server/src/macrotool_dump.cc
diff options
context:
space:
mode:
authordeva <deva>2010-02-12 13:53:00 +0000
committerdeva <deva>2010-02-12 13:53:00 +0000
commitc44cc1989fe1b4cd94c115fb9a62b73afc46e62f (patch)
tree880523c9e8be8c4c43498faf5c3fe8bdb1798cda /server/src/macrotool_dump.cc
parent305ddf3bdb16177420f480b006550508174a734e (diff)
Fix compiler warnings.
Diffstat (limited to 'server/src/macrotool_dump.cc')
-rw-r--r--server/src/macrotool_dump.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/server/src/macrotool_dump.cc b/server/src/macrotool_dump.cc
index 66b4ad7..f3f7e42 100644
--- a/server/src/macrotool_dump.cc
+++ b/server/src/macrotool_dump.cc
@@ -292,7 +292,7 @@ static void dump_templates()
void macrotool_dump(std::vector<std::string> params)
{
if(params.size() < 1) {
- printf(usage_str);
+ printf("%s", usage_str);
return;
}
@@ -301,7 +301,7 @@ void macrotool_dump(std::vector<std::string> params)
if(params[0] == "fields") {
if(params.size() != 1) {
printf("The command 'fields' doen't take any parameters.\n");
- printf(usage_str);
+ printf("%s", usage_str);
return;
}
dump_fields();
@@ -311,7 +311,7 @@ void macrotool_dump(std::vector<std::string> params)
if(params[0] == "macros") {
if(params.size() != 1) {
printf("The command 'macro' doen't take any parameters.\n");
- printf(usage_str);
+ printf("%s", usage_str);
return;
}
dump_macros();
@@ -321,7 +321,7 @@ void macrotool_dump(std::vector<std::string> params)
if(params[0] == "templates") {
if(params.size() != 1) {
printf("The command 'templates' doen't take any parameters.\n");
- printf(usage_str);
+ printf("%s", usage_str);
return;
}
dump_templates();
@@ -329,11 +329,11 @@ void macrotool_dump(std::vector<std::string> params)
}
if(params[0] == "help") {
- printf(usage_str);
+ printf("%s", usage_str);
return;
}
printf("Unknown command '%s'\n", params[0].c_str());
- printf(usage_str);
+ printf("%s", usage_str);
return;
}