mirror of
https://review.haiku-os.org/haiku
synced 2025-01-22 14:24:48 +01:00
libroot: Fix typo in static variable name.
This commit is contained in:
parent
47b0d5f52a
commit
416255de4e
@ -123,7 +123,7 @@ private:
|
||||
};
|
||||
|
||||
|
||||
static AtExitInfoBlock sInitialAtExistInfoBlock;
|
||||
static AtExitInfoBlock sInitialAtExitInfoBlock;
|
||||
static AtExitInfoBlockList sAtExitInfoBlocks;
|
||||
static AtExitInfoList sAtExitInfoStack;
|
||||
static recursive_lock sAtExitLock = RECURSIVE_LOCK_INITIALIZER("at exit lock");
|
||||
@ -200,8 +200,8 @@ __cxa_atexit(void (*hook)(void*), void* data, void* dsoHandle)
|
||||
AtExitInfoBlock* block = sAtExitInfoBlocks.Head();
|
||||
if (block == NULL) {
|
||||
// might be the first call -- check the initial block
|
||||
if (!sInitialAtExistInfoBlock.IsEmpty()) {
|
||||
block = &sInitialAtExistInfoBlock;
|
||||
if (!sInitialAtExitInfoBlock.IsEmpty()) {
|
||||
block = &sInitialAtExitInfoBlock;
|
||||
} else {
|
||||
// no empty block -- let's hope libroot is initialized sufficiently
|
||||
// for the heap to work
|
||||
|
Loading…
x
Reference in New Issue
Block a user