summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2008-03-30 22:19:00 +0100
committerDaniel Drake <dsd@gentoo.org>2008-03-30 22:19:00 +0100
commit8d809854e2b19c2b7c27ab05e5d76b34e2a5cead (patch)
treecbf46b2e17ece2f8eed8a4224663cbd780044947 /examples
parent211f80c9f2a4a58cd2bbf5b7751f45089c8961e7 (diff)
downloadlibusb-8d809854e2b19c2b7c27ab05e5d76b34e2a5cead.tar.gz
Rename libusb_poll() to libusb_handle_events()
Diffstat (limited to 'examples')
-rw-r--r--examples/dpfp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dpfp.c b/examples/dpfp.c
index 00aaa73..6aa97a1 100644
--- a/examples/dpfp.c
+++ b/examples/dpfp.c
@@ -469,7 +469,7 @@ int main(void)
sigaction(SIGQUIT, &sigact, NULL);
while (!do_exit) {
- r = libusb_poll();
+ r = libusb_handle_events();
if (r < 0)
goto out_deinit;
}