mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-14 21:22:36 +00:00
Remove qualifier errors in main.c
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1825 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
55ce38d64a
commit
43fa8a66c0
12
exec/main.c
12
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user