|
@@ -1392,8 +1392,7 @@ saEvtEventAttributesSet(
|
|
|
struct event_data_instance *edi;
|
|
struct event_data_instance *edi;
|
|
|
int i;
|
|
int i;
|
|
|
|
|
|
|
|
- if (priority < SA_EVT_HIGHEST_PRIORITY ||
|
|
|
|
|
- priority > SA_EVT_LOWEST_PRIORITY) {
|
|
|
|
|
|
|
+ if (priority > SA_EVT_LOWEST_PRIORITY) {
|
|
|
return SA_AIS_ERR_INVALID_PARAM;
|
|
return SA_AIS_ERR_INVALID_PARAM;
|
|
|
}
|
|
}
|
|
|
|
|
|