summaryrefslogtreecommitdiff
path: root/devel/android-tools-fastboot
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2017-08-22 13:24:00 +0000
committerJan Beich <jbeich@FreeBSD.org>2017-08-22 13:24:00 +0000
commitc4d7b2a134c8a710586df1a3b886892195bb4fc4 (patch)
tree96ac47d6f84466c5aa54d37b92bfaab8dc8b019b /devel/android-tools-fastboot
parent- Update mail/courier-imap to 4.18.1 (diff)
devel/android-tools-fastboot: sync usb_freebsd.cpp with -devel
Notes
Notes: svn path=/head/; revision=448529
Diffstat (limited to 'devel/android-tools-fastboot')
-rw-r--r--devel/android-tools-fastboot/files/usb_freebsd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/android-tools-fastboot/files/usb_freebsd.cpp b/devel/android-tools-fastboot/files/usb_freebsd.cpp
index 1eb0ca809ee6..c7664e67697a 100644
--- a/devel/android-tools-fastboot/files/usb_freebsd.cpp
+++ b/devel/android-tools-fastboot/files/usb_freebsd.cpp
@@ -82,7 +82,7 @@ probe(std::unique_ptr<usb_handle> &h, ifc_match_func callback)
info.dev_protocol = ddesc.bDeviceProtocol;
info.writable = 1;
- snprintf(info.device_path, sizeof(info.device_path), "ugen%d.%d",
+ snprintf(info.device_path, sizeof(info.device_path), "usb:%d:%d",
libusb_get_bus_number(h->dev), libusb_get_device_address(h->dev));
if (ddesc.iSerialNumber != 0) {