diff options
author | theraven <theraven@FreeBSD.org> | 2013-02-07 11:08:03 +0000 |
---|---|---|
committer | theraven <theraven@FreeBSD.org> | 2013-02-07 11:08:03 +0000 |
commit | beb973e6fcc3cbc95accc6597f283d279a827924 (patch) | |
tree | 16ac4ab0ed75cd699b8d42ceafe4f7e82ed587d3 /contrib/libcxxrt | |
parent | f3d9ee22e48c693e78c1cfbfc37dc911d6f25e3f (diff) | |
download | FreeBSD-src-beb973e6fcc3cbc95accc6597f283d279a827924.zip FreeBSD-src-beb973e6fcc3cbc95accc6597f283d279a827924.tar.gz |
Fix a copy-and-paste error in libcxxrt.
Diffstat (limited to 'contrib/libcxxrt')
-rw-r--r-- | contrib/libcxxrt/exception.cc | 2 |
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. |