git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1360 fd59a12c-fef9-0310-b244-a6a79926bd2f
@@ -1033,7 +1033,7 @@ saAmfResponse (
errorResult = saHandleInstanceGet (&amfHandleDatabase, amfHandle,
(void *)&amfInstance);
if (errorResult != SA_AIS_OK) {
- return (error);
+ return (errorResult);
}
req_lib_amf_response.header.id = MESSAGE_REQ_AMF_RESPONSE;