aboutsummaryrefslogtreecommitdiff
path: root/lib/cap.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cap.h')
-rw-r--r--lib/cap.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/cap.h b/lib/cap.h
index 527b6c0..038562f 100644
--- a/lib/cap.h
+++ b/lib/cap.h
@@ -39,12 +39,9 @@ struct caps;
/**
* Initializes PCI capabilities.
- *
- * Returns <0 on error, 0 if no capabilities are to be added, and >0 if all
- * capabilities have been added.
*/
-struct caps *
-caps_create(lm_ctx_t *lm_ctx, lm_cap_t **caps, int nr_caps);
+struct caps *caps_create(lm_ctx_t *lm_ctx, lm_cap_t **caps, int nr_caps,
+ int *err);
/*
* Conditionally accesses the PCI capabilities. Returns: