Fix callers of renamed function.

This commit is contained in:
David Chisnall
2019-04-11 10:42:50 +01:00
parent a64cc5562f
commit 9d24f7e24f
2 changed files with 5 additions and 5 deletions

View File

@@ -138,7 +138,7 @@ namespace snmalloc
{
const snmalloc::PagemapConfig* c;
external_pagemap =
SuperslabPagemap::cast_to_pagemap(snmalloc_get_global_pagemap(&c), c);
SuperslabPagemap::cast_to_pagemap(snmalloc_pagemap_global_get(&c), c);
// FIXME: Report an error somehow in non-debug builds.
assert(external_pagemap);
}