From 43fa8a66c0d3ace979f6f71df959db6d5c07e644 Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Tue, 10 Mar 2009 12:22:38 +0000 Subject: [PATCH] Remove qualifier errors in main.c git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1825 fd59a12c-fef9-0310-b244-a6a79926bd2f --- exec/main.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/exec/main.c b/exec/main.c index ac4325e9..3d06d87f 100644 --- a/exec/main.c +++ b/exec/main.c @@ -568,10 +568,10 @@ int main (int argc, char **argv) res = config->config_readconfig(objdb, &error_string); if (res == -1) { - log_printf (LOG_LEVEL_ERROR, error_string); + log_printf (LOG_LEVEL_ERROR, "%s", error_string); corosync_exit_error (AIS_DONE_MAINCONFIGREAD); } - log_printf (LOG_LEVEL_NOTICE, error_string); + log_printf (LOG_LEVEL_NOTICE, "%s", error_string); config_modules[num_config_modules++] = config; iface = strtok(NULL, ":"); @@ -581,25 +581,25 @@ int main (int argc, char **argv) res = corosync_main_config_read (objdb, &error_string, &main_config); if (res == -1) { - log_printf (LOG_LEVEL_ERROR, error_string); + log_printf (LOG_LEVEL_ERROR, "%s", error_string); corosync_exit_error (AIS_DONE_MAINCONFIGREAD); } res = totem_config_read (objdb, &totem_config, &error_string); if (res == -1) { - log_printf (LOG_LEVEL_ERROR, error_string); + log_printf (LOG_LEVEL_ERROR, "%s", error_string); corosync_exit_error (AIS_DONE_MAINCONFIGREAD); } res = totem_config_keyread (objdb, &totem_config, &error_string); if (res == -1) { - log_printf (LOG_LEVEL_ERROR, error_string); + log_printf (LOG_LEVEL_ERROR, "%s", error_string); corosync_exit_error (AIS_DONE_MAINCONFIGREAD); } res = totem_config_validate (&totem_config, &error_string); if (res == -1) { - log_printf (LOG_LEVEL_ERROR, error_string); + log_printf (LOG_LEVEL_ERROR, "%s", error_string); corosync_exit_error (AIS_DONE_MAINCONFIGREAD); }