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 d9b27be..3927fe3 100644
--- a/cli.c
+++ b/cli.c
@@ -884,7 +884,7 @@ int Grab(pcilib_t *handle, const char *event, const char *output) {
// ignoring event for now
- err = pcilib_grab(handle, PCILIB_EVENTS_ALL, &size, &data, NULL);
+ err = pcilib_grab(handle, PCILIB_EVENTS_ALL, &size, &data, PCILIB_TIMEOUT_TRIGGER);
if (err) {
Error("Grabbing event is failed");
}