mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix incorrect sizeof() in bzero()
Submitted by: swildner@DragonFlyBSD.org Reviewed by: alfred, jmallett
This commit is contained in:
parent
578acad37e
commit
7a48925d12
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue