diff options
author | davidxu <davidxu@FreeBSD.org> | 2003-09-15 00:06:46 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2003-09-15 00:06:46 +0000 |
commit | 8d7f2fb3904b665f5c51e664e1c01dbb48f9fa5c (patch) | |
tree | 52bfbfe9c78539eb21ab94e3efde870ab37d48c7 /lib/libpthread/thread/thr_sigmask.c | |
parent | 7a55c130035062fa053c0dba704cf4ed3b52416c (diff) | |
download | FreeBSD-src-8d7f2fb3904b665f5c51e664e1c01dbb48f9fa5c.zip FreeBSD-src-8d7f2fb3904b665f5c51e664e1c01dbb48f9fa5c.tar.gz |
Fix a bogus comment, sigmask must be maintained correctly,
it will be inherited in pthread_create.
Diffstat (limited to 'lib/libpthread/thread/thr_sigmask.c')
-rw-r--r-- | lib/libpthread/thread/thr_sigmask.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_sigmask.c b/lib/libpthread/thread/thr_sigmask.c index 15740f4..24a5134 100644 --- a/lib/libpthread/thread/thr_sigmask.c +++ b/lib/libpthread/thread/thr_sigmask.c @@ -53,7 +53,7 @@ _pthread_sigmask(int how, const sigset_t *set, sigset_t *oset) ret = __sys_sigprocmask(how, set, oset); if (ret != 0) ret = errno; - /* Get a copy for thread dump */ + /* Get a fresh copy */ __sys_sigprocmask(SIG_SETMASK, NULL, &curthread->sigmask); return (ret); } |