Update open_data_source documentation to accurately reflect the correct return value on error.

This commit is contained in:
Bill Napier
2009-06-02 17:45:08 -07:00
parent 21b652f933
commit 8d567480b4

View File

@@ -284,7 +284,7 @@ struct sensors_control_device_t {
* The caller takes ownership of this handle. This is intended to be
* passed cross processes.
*
* @return a native_handle_t if successful, < 0 on error
* @return a native_handle_t if successful, NULL on error
*/
native_handle_t* (*open_data_source)(struct sensors_control_device_t *dev);