Fix typos in libusb.
Found by: Denis Ahrens <denis@h3q.com> MFC after: 1 week Sponsored by: Mellanox Technologies
This commit is contained in:
parent
5ea5849a7b
commit
1efeb40d1d
@ -539,7 +539,7 @@ libusb_open_device_with_vid_pid(libusb_context *ctx, uint16_t vendor_id,
|
||||
if (ctx == NULL)
|
||||
return (NULL); /* be NULL safe */
|
||||
|
||||
DPRINTF(ctx, LIBUSB_DEBUG_FUNCTION, "libusb_open_device_width_vid_pid enter");
|
||||
DPRINTF(ctx, LIBUSB_DEBUG_FUNCTION, "libusb_open_device_with_vid_pid enter");
|
||||
|
||||
if ((i = libusb_get_device_list(ctx, &devs)) < 0)
|
||||
return (NULL);
|
||||
@ -563,7 +563,7 @@ libusb_open_device_with_vid_pid(libusb_context *ctx, uint16_t vendor_id,
|
||||
}
|
||||
|
||||
libusb_free_device_list(devs, 1);
|
||||
DPRINTF(ctx, LIBUSB_DEBUG_FUNCTION, "libusb_open_device_width_vid_pid leave");
|
||||
DPRINTF(ctx, LIBUSB_DEBUG_FUNCTION, "libusb_open_device_with_vid_pid leave");
|
||||
return (pdev);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user