diff options
Diffstat (limited to 'devel/android-tools-fastboot/files')
-rw-r--r-- | devel/android-tools-fastboot/files/usb_freebsd.cpp | 2 |
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) { |