git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1351 fd59a12c-fef9-0310-b244-a6a79926bd2f
@@ -880,7 +880,7 @@ struct amf_cluster *amf_config_read (char **error_string)
fclose (fp);
- sprintf (error_reason, "Successfully read AMF configuration file '%s'.\n", filename);
+ sprintf (buf, "Successfully read AMF configuration file '%s'.\n", filename);
*error_string = buf;
return cluster;