From 9e2fa013c2c78f7286ca6783627ef6417786d549 Mon Sep 17 00:00:00 2001 From: "Fabio M. Di Nitto" Date: Wed, 1 Apr 2009 12:54:20 +0000 Subject: [PATCH] Fix last build warning in mainconfig. Add a missing const. git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1986 fd59a12c-fef9-0310-b244-a6a79926bd2f --- exec/mainconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/mainconfig.c b/exec/mainconfig.c index 8ebff1b6..5bf9dc26 100644 --- a/exec/mainconfig.c +++ b/exec/mainconfig.c @@ -326,7 +326,7 @@ int corosync_main_config_read ( { hdb_handle_t object_service_handle; char *value; - char *error_reason = error_string_response; + const char *error_reason = error_string_response; hdb_handle_t object_find_handle; memset (main_config, 0, sizeof (struct main_config));