I discovered that our SaAisErrorT is incorrect. I have included a patch

to fix that.  The SA_AIS_ERR_BAD_CHECKPOINT code doesn't exist.  I
replaced it with SA_AIS_ERR_BAD_OPERATION.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@709 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Mark Haverkamp 2005-06-24 21:19:02 +00:00
parent d330f32d78
commit cbc8feca89
2 changed files with 3 additions and 3 deletions

View File

@ -1251,7 +1251,7 @@ static int recovery_checkpoint_open(SaNameT *checkpointName,
* If the checkpoint has been unlinked, it is an invalid name
*/
if (ckptCheckpoint->unlinked) {
error = SA_AIS_ERR_BAD_CHECKPOINT; /* Is this the correct return ? */
error = SA_AIS_ERR_BAD_OPERATION; /* Is this the correct return ? */
goto error_exit;
}

View File

@ -144,8 +144,8 @@ typedef enum {
SA_AIS_ERR_MESSAGE_ERROR = 22,
SA_AIS_ERR_QUEUE_FULL = 23,
SA_AIS_ERR_QUEUE_NOT_AVAILABLE = 24,
SA_AIS_ERR_BAD_CHECKPOINT = 25,
SA_AIS_ERR_BAD_FLAGS = 26,
SA_AIS_ERR_BAD_FLAGS = 25,
SA_AIS_ERR_TOO_BIG = 26,
SA_AIS_ERR_NO_SECTIONS = 27
} SaAisErrorT;