diff options
author | gonzo <gonzo@FreeBSD.org> | 2011-12-31 05:25:42 +0000 |
---|---|---|
committer | gonzo <gonzo@FreeBSD.org> | 2011-12-31 05:25:42 +0000 |
commit | 9f57ade3160b1776510a76962b817b76d21a222f (patch) | |
tree | c2e7d27a062ec14e2c9bac1e2518947effc6f42d | |
parent | 46d20b90bdd107e9aeda10814c4a545b2a70985d (diff) | |
download | FreeBSD-src-9f57ade3160b1776510a76962b817b76d21a222f.zip FreeBSD-src-9f57ade3160b1776510a76962b817b76d21a222f.tar.gz |
- Properly clean state structure in cvmx_usb_initialize
-rw-r--r-- | sys/contrib/octeon-sdk/cvmx-usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/octeon-sdk/cvmx-usb.c b/sys/contrib/octeon-sdk/cvmx-usb.c index d660f0e..01dabe8 100644 --- a/sys/contrib/octeon-sdk/cvmx-usb.c +++ b/sys/contrib/octeon-sdk/cvmx-usb.c @@ -654,7 +654,7 @@ cvmx_usb_status_t cvmx_usb_initialize(cvmx_usb_state_t *state, } } - memset(usb, 0, sizeof(usb)); + memset(usb, 0, sizeof(*usb)); usb->init_flags = flags; /* Initialize the USB state structure */ |