From 51b53a89896a63d49e7e622133faf58dc681ce13 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 18 Jul 2011 01:07:04 +0200 Subject: Change timeout definition in Events API from struct timespec to pcilib_timeout_t --- cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli.c') 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"); } -- cgit v1.2.3