Skip to content

Commit 7e26cf9

Browse files
committed
doc: fix return value description for nvme_scan_topology
The current implementation returns 0 on success, update the documentation accordingly. Signed-off-by: Daniel Wagner <[email protected]>
1 parent 789fe75 commit 7e26cf9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/nvme/tree.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1404,7 +1404,7 @@ const char *nvme_subsystem_get_fw_rev(nvme_subsystem_t s);
14041404
* Scans the NVMe topology and filters out the resulting elements
14051405
* by applying @f.
14061406
*
1407-
* Return: Number of elements scanned
1407+
* Returns: 0 on success, -1 on failure with errno set.
14081408
*/
14091409
int nvme_scan_topology(nvme_root_t r, nvme_scan_filter_t f, void *f_args);
14101410

0 commit comments

Comments
 (0)