svn commit: r318953 - head/lib/libthr/thread

Eric van Gyzen vangyzen at FreeBSD.org
Fri May 26 15:53:29 UTC 2017


Author: vangyzen
Date: Fri May 26 15:53:27 2017
New Revision: 318953
URL: https://svnweb.freebsd.org/changeset/base/318953

Log:
  libthr: fix style in previous commit
  
  I intended to add this to the previous commit.
  
  Reviewed by:	kib
  MFC after:	3 days
  Sponsored by:	Dell EMC

Modified:
  head/lib/libthr/thread/thr_sig.c

Modified: head/lib/libthr/thread/thr_sig.c
==============================================================================
--- head/lib/libthr/thread/thr_sig.c	Fri May 26 15:51:51 2017	(r318952)
+++ head/lib/libthr/thread/thr_sig.c	Fri May 26 15:53:27 2017	(r318953)
@@ -737,7 +737,7 @@ __thr_setcontext(const ucontext_t *ucp)
 		return (-1);
 	}
 	if (!SIGISMEMBER(ucp->uc_sigmask, SIGCANCEL))
-		return __sys_setcontext(ucp);
+		return (__sys_setcontext(ucp));
 	(void) memcpy(&uc, ucp, sizeof(uc));
 	SIGDELSET(uc.uc_sigmask, SIGCANCEL);
 	return (__sys_setcontext(&uc));


More information about the svn-src-all mailing list