diff options
author | John Levon <john.levon@joyent.com> | 2018-12-19 17:33:47 +0000 |
---|---|---|
committer | Richard Lowe <richlowe@richlowe.net> | 2019-02-01 19:02:43 +0000 |
commit | 8e4148b01b8967e1a9ff6fdb6c8a2baff7363432 (patch) | |
tree | e24d36ff2ea281f53f4ca72219704bcc8d3e8829 /usr/src | |
parent | 0627591eb8261c55a48bc3b17ff3dfe0d0568939 (diff) | |
download | illumos-joyent-8e4148b01b8967e1a9ff6fdb6c8a2baff7363432.tar.gz |
10115 ses topo module needs smatch fixes
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Gergő Doma <domag02@gmail.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/lib/fm/topo/modules/common/ses/ses.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/lib/fm/topo/modules/common/ses/ses.c b/usr/src/lib/fm/topo/modules/common/ses/ses.c index cbfd2da1c2..081ed619ec 100644 --- a/usr/src/lib/fm/topo/modules/common/ses/ses.c +++ b/usr/src/lib/fm/topo/modules/common/ses/ses.c @@ -478,8 +478,8 @@ ses_contract_thread(void *arg) fds.fd = efd; fds.events = POLLIN; fds.revents = 0; - sigaddset(&sigset, sesthread.thr_sig); - pthread_sigmask(SIG_UNBLOCK, &sigset, NULL); + (void) sigaddset(&sigset, sesthread.thr_sig); + (void) pthread_sigmask(SIG_UNBLOCK, &sigset, NULL); for (;;) { /* check if we've been asked to exit */ (void) pthread_mutex_lock(&sesthread.mt); |