summaryrefslogtreecommitdiffstats
path: root/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'pci.c')
-rw-r--r--pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pci.c b/pci.c
index df1025e..cafdf95 100644
--- a/pci.c
+++ b/pci.c
@@ -688,7 +688,7 @@ int pcilib_stop(pcilib_t *ctx) {
return 0;
}
-pcilib_event_id_t pcilib_get_next_event(pcilib_t *ctx, pcilib_event_t event_mask) {
+pcilib_event_id_t pcilib_get_next_event(pcilib_t *ctx, pcilib_event_t event_mask, const struct timespec *timeout) {
pcilib_event_api_description_t *api;
pcilib_model_t model = pcilib_get_model(ctx);
@@ -700,7 +700,7 @@ pcilib_event_id_t pcilib_get_next_event(pcilib_t *ctx, pcilib_event_t event_mask
}
if (api->next_event)
- return api->next_event(ctx->event_ctx, event_mask);
+ return api->next_event(ctx->event_ctx, event_mask, timeout);
pcilib_error("Event enumeration is not suppored by API");
return PCILIB_EVENT_ID_INVALID;