diff options
author | le <le@FreeBSD.org> | 2004-06-26 13:21:31 +0000 |
---|---|---|
committer | le <le@FreeBSD.org> | 2004-06-26 13:21:31 +0000 |
commit | 35fc8cf52c7b2f5f68bfdeafaf4d3ae8b5831332 (patch) | |
tree | ea2aa24db5417d6f2ed0730ab655b71e85eec8d3 /sys/dev/usb/ubser.c | |
parent | 1537d9035f7d6618fa7ee2d20e95f15fa17994f0 (diff) | |
download | FreeBSD-src-35fc8cf52c7b2f5f68bfdeafaf4d3ae8b5831332.zip FreeBSD-src-35fc8cf52c7b2f5f68bfdeafaf4d3ae8b5831332.tar.gz |
Catch up with usbd_get_string_desc() change.
Diffstat (limited to 'sys/dev/usb/ubser.c')
-rw-r--r-- | sys/dev/usb/ubser.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/usb/ubser.c b/sys/dev/usb/ubser.c index d640494..90c46dc 100644 --- a/sys/dev/usb/ubser.c +++ b/sys/dev/usb/ubser.c @@ -207,7 +207,7 @@ USB_MATCH(ubser) usb_string_descriptor_t us; usb_interface_descriptor_t *id; usb_device_descriptor_t *dd; - int err; + int err, size; if (uaa->iface == NULL) return (UMATCH_NONE); @@ -227,7 +227,8 @@ USB_MATCH(ubser) return (UMATCH_NONE); } - err = usbd_get_string_desc(uaa->device, dd->iManufacturer, 0, &us); + err = usbd_get_string_desc(uaa->device, dd->iManufacturer, 0, &us, + &size); if (err != 0) return (UMATCH_NONE); |