diff --git a/exec/ckpt.c b/exec/ckpt.c index 575db00b..1144632d 100644 --- a/exec/ckpt.c +++ b/exec/ckpt.c @@ -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; } diff --git a/include/ais_types.h b/include/ais_types.h index 6c61f856..e68e5e38 100644 --- a/include/ais_types.h +++ b/include/ais_types.h @@ -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;