summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2008-06-28 21:24:49 -0500
committerDaniel Drake <dsd@gentoo.org>2008-06-28 21:26:03 -0500
commit83a029062c1d2bfb584d7a6ee94915583d37464c (patch)
treef7491b42946fd97c4212d55205234fa355ba891c
parentfbad9a5426f0369394c88987355a8fb06a741ca1 (diff)
downloadlibusb-83a029062c1d2bfb584d7a6ee94915583d37464c.tar.gz
Add missing GET_CONTEXT()
-rw-r--r--libusb/io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libusb/io.c b/libusb/io.c
index ef6ad9f..984fe31 100644
--- a/libusb/io.c
+++ b/libusb/io.c
@@ -1713,6 +1713,7 @@ API_EXPORTED const struct libusb_pollfd **libusb_get_pollfds(
struct usbi_pollfd *ipollfd;
size_t i = 0;
size_t cnt = 0;
+ USBI_GET_CONTEXT(ctx);
pthread_mutex_lock(&ctx->pollfds_lock);
list_for_each_entry(ipollfd, &ctx->pollfds, list)