summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-03-22 04:13:23 +0000
committerjb <jb@FreeBSD.org>1998-03-22 04:13:23 +0000
commite8b6792d29b46bb961a633ba7d8c7a7192506db2 (patch)
tree2ea7e0002795d36e2d1472cbf5a84f5e3b0ae812 /lib/libpthread
parente678d7822c784974dffa1cd6a80aacad28ef7852 (diff)
downloadFreeBSD-src-e8b6792d29b46bb961a633ba7d8c7a7192506db2.zip
FreeBSD-src-e8b6792d29b46bb961a633ba7d8c7a7192506db2.tar.gz
Fix a problem of indirection unblocking signals that would have caused
signals to be unblocked even if they were already blocked when entering the function. Pointed out by: bde
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/thread/thr_fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_fork.c b/lib/libpthread/thread/thr_fork.c
index 89d7259..29d6090 100644
--- a/lib/libpthread/thread/thr_fork.c
+++ b/lib/libpthread/thread/thr_fork.c
@@ -123,7 +123,7 @@ fork(void)
}
/* Unblock signals: */
- _thread_kern_sig_unblock(&status);
+ _thread_kern_sig_unblock(status);
/* Return the process ID: */
return (ret);
OpenPOWER on IntegriCloud