diff options
-rw-r--r-- | sys/contrib/octeon-sdk/cvmx-usbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/octeon-sdk/cvmx-usbd.c b/sys/contrib/octeon-sdk/cvmx-usbd.c index 85b8013..863dc32 100644 --- a/sys/contrib/octeon-sdk/cvmx-usbd.c +++ b/sys/contrib/octeon-sdk/cvmx-usbd.c @@ -245,7 +245,7 @@ int cvmx_usbd_initialize(cvmx_usbd_state_t *usb, if (cvmx_unlikely(flags & CVMX_USBD_INITIALIZE_FLAGS_DEBUG)) cvmx_dprintf("%s: Called\n", __FUNCTION__); - memset(usb, 0, sizeof(usb)); + memset(usb, 0, sizeof(*usb)); usb->init_flags = flags; usb->index = usb_port_number; |