diff options
author | le <le@FreeBSD.org> | 2004-06-26 13:24:29 +0000 |
---|---|---|
committer | le <le@FreeBSD.org> | 2004-06-26 13:24:29 +0000 |
commit | 688c057b32d7a9576ae051edbfa127f9dfe7cdb8 (patch) | |
tree | 8a00fc489b8ee0dab6c4ba8fa7ec8c07fcf04900 /sys/netgraph | |
parent | 35fc8cf52c7b2f5f68bfdeafaf4d3ae8b5831332 (diff) | |
download | FreeBSD-src-688c057b32d7a9576ae051edbfa127f9dfe7cdb8.zip FreeBSD-src-688c057b32d7a9576ae051edbfa127f9dfe7cdb8.tar.gz |
Catch up with usbd_get_string_desc() change.
Spotted by: Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
Diffstat (limited to 'sys/netgraph')
-rw-r--r-- | sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c b/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c index 1068dad..b195635 100644 --- a/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c +++ b/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c @@ -2524,7 +2524,7 @@ ubt_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, usb_proc_ptr p) case USB_GET_STRING_DESC: si = (struct usb_string_desc *) data; status = usbd_get_string_desc(sc->sc_udev, si->usd_string_index, - si->usd_language_id, &si->usd_desc); + si->usd_language_id, &si->usd_desc, &len); if (status != USBD_NORMAL_COMPLETION) error = EINVAL; break; |