diff options
-rw-r--r-- | sys/dev/usb/usb_mem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_mem.c b/sys/dev/usb/usb_mem.c index 143ce2e..ae824e1 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); |