summaryrefslogtreecommitdiff
path: root/libexec/rtld-elf/rtld_lock.c
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2011-02-09 09:20:27 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2011-02-09 09:20:27 +0000
commita7bc470a84ecda53b360df72d35434bef1658131 (patch)
treead7c786b1d3e7efa9edf045df12bf535d6f1ec94 /libexec/rtld-elf/rtld_lock.c
parent8833442863c16647c9245827a4df3e16c8209063 (diff)
downloadsrc-test2-a7bc470a84ecda53b360df72d35434bef1658131.tar.gz
src-test2-a7bc470a84ecda53b360df72d35434bef1658131.zip
Notes
Diffstat (limited to 'libexec/rtld-elf/rtld_lock.c')
-rw-r--r--libexec/rtld-elf/rtld_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rtld-elf/rtld_lock.c b/libexec/rtld-elf/rtld_lock.c
index e76a4da8adf8..024e1e2028db 100644
--- a/libexec/rtld-elf/rtld_lock.c
+++ b/libexec/rtld-elf/rtld_lock.c
@@ -259,7 +259,7 @@ lock_restart_for_upgrade(RtldLockState *lockstate)
case RTLD_LOCK_WLOCKED:
break;
case RTLD_LOCK_RLOCKED:
- longjmp(lockstate->env, 1);
+ siglongjmp(lockstate->env, 1);
break;
default:
assert(0);