summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/usbhid-dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usbhid-dump.c b/src/usbhid-dump.c
index 999d406..194a912 100644
--- a/src/usbhid-dump.c
+++ b/src/usbhid-dump.c
@@ -216,7 +216,7 @@ dump_iface_list_descriptor(const uhd_iface *list)
int rc;
enum libusb_error err;
- for (iface = list; iface != NULL; iface = iface->next)
+ UHD_IFACE_LIST_FOR_EACH(iface, list)
{
rc = libusb_control_transfer(iface->handle,
/* See HID spec, 7.1.1 */