summaryrefslogtreecommitdiffstats
path: root/contrib/libcxxrt/exception.cc
diff options
context:
space:
mode:
authortheraven <theraven@FreeBSD.org>2013-02-07 11:08:03 +0000
committertheraven <theraven@FreeBSD.org>2013-02-07 11:08:03 +0000
commitbeb973e6fcc3cbc95accc6597f283d279a827924 (patch)
tree16ac4ab0ed75cd699b8d42ceafe4f7e82ed587d3 /contrib/libcxxrt/exception.cc
parentf3d9ee22e48c693e78c1cfbfc37dc911d6f25e3f (diff)
downloadFreeBSD-src-beb973e6fcc3cbc95accc6597f283d279a827924.zip
FreeBSD-src-beb973e6fcc3cbc95accc6597f283d279a827924.tar.gz
Fix a copy-and-paste error in libcxxrt.
Diffstat (limited to 'contrib/libcxxrt/exception.cc')
-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 4ccf38e..7f0d3e8 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.
OpenPOWER on IntegriCloud