summaryrefslogtreecommitdiff
path: root/usr/src/lib
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2020-09-17 11:32:34 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2020-09-17 11:32:34 +0000
commita2435eea0fd4937d2779dd36ee4c494704d07472 (patch)
tree0f16c4f4f3dfe0682f0aa6b5a18a0c6a1854063a /usr/src/lib
parent73fb888b08574ef1b33df70ad8f9adc7f2508b41 (diff)
parent260b78324e5b8479cc94f897a36e996f026c3fef (diff)
downloadillumos-joyent-a2435eea0fd4937d2779dd36ee4c494704d07472.tar.gz
[illumos-gate merge]
commit 260b78324e5b8479cc94f897a36e996f026c3fef 13108 mlxcx fails to attach on system using pcplusmp after 12988 commit 8c5b3a5a518f93629928bd6ed373422602ce74a9 13136 libc: memset_s() error: unchecked function return
Diffstat (limited to 'usr/src/lib')
-rw-r--r--usr/src/lib/libc/port/gen/memset_s.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/lib/libc/port/gen/memset_s.c b/usr/src/lib/libc/port/gen/memset_s.c
index c77b02de20..f1f0d732e9 100644
--- a/usr/src/lib/libc/port/gen/memset_s.c
+++ b/usr/src/lib/libc/port/gen/memset_s.c
@@ -63,7 +63,7 @@ memset_s(void *s, rsize_t smax, int c, rsize_t n)
* memset() called through a volatile pointer to guarantee
* it will not be optimized away.
*/
- (*__memset_vp)(s, v, lim);
+ (void) (*__memset_vp)(s, v, lim);
if (n > RSIZE_MAX) {
__throw_constraint_handler_s("memset_s: n > RSIZE_MAX",