diff options
Diffstat (limited to 'sys/dev/usb/uftdi.c')
-rw-r--r-- | sys/dev/usb/uftdi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/uftdi.c b/sys/dev/usb/uftdi.c index e5691f8..a9d92af 100644 --- a/sys/dev/usb/uftdi.c +++ b/sys/dev/usb/uftdi.c @@ -201,7 +201,7 @@ USB_ATTACH(uftdi) ucom->sc_dev = self; ucom->sc_udev = dev; - devname = USBDEVNAME(ucom->sc_dev); + devname = device_get_nameunit(ucom->sc_dev); if (uaa->iface == NULL) { /* Move the device into the configured state. */ |