summaryrefslogtreecommitdiffstats
path: root/cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli.c')
-rw-r--r--cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli.c b/cli.c
index 102c004..7ba7332 100644
--- a/cli.c
+++ b/cli.c
@@ -906,7 +906,7 @@ int WaitIRQ(pcilib_t *handle, pcilib_model_description_t *model_info, pcilib_irq
int err;
size_t count;
- err = pcilib_enable_irq(handle, 0);
+ err = pcilib_enable_irq(handle, PCILIB_EVENT_IRQ, 0);
if (err) Error("Error enabling IRQs");
err = pcilib_wait_irq(handle, irq_source, timeout, &count);