Menu

#1389 Incorrect error returned by saHpiSensorThresholdsSet()

2.13.1
closed-fixed
5
2008-10-30
2008-10-22
Anton Pak
No

File: openhpid/oh_client.cpp
Function: saHpiSensorThresholdsSet

According to SAF HPI-B.02.01, section 7.2.7:

SA_ERR_HPI_INVALID_PARAMS is returned if the SensorThresholds pointer is passed in as NULL.

Current implementation returns SA_ERR_HPI_INVALID_DATA.

The patch is attached.

Discussion

  • Anton Pak

    Anton Pak - 2008-10-22
     
  • peter dinh phan

    peter dinh phan - 2008-10-30
    • status: open --> closed-fixed
     
  • peter dinh phan

    peter dinh phan - 2008-10-30
    • milestone: --> 2.13.1
    • assigned_to: nobody --> pdphan
     
MongoDB Logo MongoDB