aboutsummaryrefslogtreecommitdiff
path: root/contrib/libcxxrt
diff options
context:
space:
mode:
authorDavid Chisnall <theraven@FreeBSD.org>2013-02-07 11:08:03 +0000
committerDavid Chisnall <theraven@FreeBSD.org>2013-02-07 11:08:03 +0000
commitfe9b3289e67c4558d52b5035a0de1eae3bd96d10 (patch)
tree16ac4ab0ed75cd699b8d42ceafe4f7e82ed587d3 /contrib/libcxxrt
parent2ba0f361399b496357a4017f22273986adb3cdff (diff)
Notes
Diffstat (limited to 'contrib/libcxxrt')
-rw-r--r--contrib/libcxxrt/exception.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libcxxrt/exception.cc b/contrib/libcxxrt/exception.cc
index 4ccf38eba7ac..7f0d3e8b0f6a 100644
--- a/contrib/libcxxrt/exception.cc
+++ b/contrib/libcxxrt/exception.cc
@@ -1387,7 +1387,7 @@ namespace std
{
if (thread_local_handlers) { return pathscale::set_unexpected(f); }
- return ATOMIC_SWAP(&terminateHandler, f);
+ return ATOMIC_SWAP(&unexpectedHandler, f);
}
/**
* Sets the function that is called to terminate the program.