Fix a copy-and-paste error in libcxxrt.

This commit is contained in:
theraven 2013-02-07 11:08:03 +00:00
parent f3d9ee22e4
commit beb973e6fc

View File

@ -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.