Patch says it all.

Regards,
  Honza


diff --git a/trunk/lib/msg.c b/trunk/lib/msg.c
index 90473f2..6d39452 100644
--- a/trunk/lib/msg.c
+++ b/trunk/lib/msg.c
@@ -501,7 +501,7 @@ saMsgQueueOpenAsync (
 
 	if ((openFlags & SA_MSG_QUEUE_RECEIVE_CALLBACK) &&
 	    (msgInstance->callbacks.saMsgMessageReceivedCallback == NULL)) {
-		error = SA_AIS_ERR_INIT;
+		error = SA_AIS_ERR_INVALID_PARAM;
 		goto error_put;
 	}
 
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to