diff options
author | Toomas Soome <tsoome@me.com> | 2020-01-20 01:26:16 -0800 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2020-02-25 20:02:07 +0200 |
commit | 13b136d3061155363c62c9f6568d25b8b27da8f6 (patch) | |
tree | f6a5e28f577f75c7150939e8076d0c50d570cd7a /usr/src | |
parent | f3a525d949e26238340eb8c1f6fdcfff91fc7e65 (diff) | |
download | illumos-joyent-13b136d3061155363c62c9f6568d25b8b27da8f6.tar.gz |
12295 librsc: wrong argument for sizeof
Reviewed by: Matthias Scheler <mscheler@tintri.com>
Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
Approved by: Robert Mustacchi <rm@fingolfin.org>
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/lib/librsc/sparc/mpxu/common/librsc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/src/lib/librsc/sparc/mpxu/common/librsc.c b/usr/src/lib/librsc/sparc/mpxu/common/librsc.c index 863c304fcc..c39719f473 100644 --- a/usr/src/lib/librsc/sparc/mpxu/common/librsc.c +++ b/usr/src/lib/librsc/sparc/mpxu/common/librsc.c @@ -24,8 +24,6 @@ * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - /* * ENXS platform-specific functions */ @@ -151,7 +149,7 @@ rscp_init(void) /* * 'erase' the rx buffer */ - (void) memset(rsc_rx_buffer, 0, sizeof (RSC_MAX_RX_BUFFER)); + (void) memset(rsc_rx_buffer, 0, sizeof (rsc_rx_buffer)); rsc_rx_resp_len = 0; rsc_rx_error = 0; rsc_rx_resp_type = DP_NULL_MSG; |