Skip to content

Commit 2260cc3

Browse files
committed
include: bm_zms: clarify error in bm_zms_register
Clarifies the explicit error returned by the function. Signed-off-by: Mirko Covizzi <[email protected]>
1 parent 36a0ccc commit 2260cc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/bm_zms.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ typedef void (*bm_zms_cb_t)(bm_zms_evt_t const *p_evt);
111111
* @param fs Pointer to the file system structure.
112112
*
113113
* @retval 0 on success.
114-
* @retval negative number on failure.
114+
* @retval -ENOMEM if no more callback slots are available.
115115
*/
116116
int bm_zms_register(struct bm_zms_fs *fs, bm_zms_cb_t cb);
117117

0 commit comments

Comments
 (0)