Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
John Levon authored and richlowe committed Feb 1, 2019
1 parent 0627591 commit 8e4148b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions usr/src/lib/fm/topo/modules/common/ses/ses.c
Expand Up @@ -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);
Expand Down

0 comments on commit 8e4148b

Please sign in to comment.