diff --git a/sys/dev/usb/usb_mem.c b/sys/dev/usb/usb_mem.c index 143ce2ed2bf8..ae824e19a01c 100644 --- a/sys/dev/usb/usb_mem.c +++ b/sys/dev/usb/usb_mem.c @@ -183,6 +183,8 @@ usb_block_allocmem(bus_dma_tag_t tag, size_t size, size_t align, usbmem_callback, p, 0)) goto memfree; + /* XXX - override the tag, ok since we never free it */ + p->tag = tag; *dmap = p; return (USBD_NORMAL_COMPLETION);