Fix build

This commit is contained in:
Justine Tunney 2024-07-25 22:12:08 -07:00
parent edd5e2c8e3
commit 0679cfeb41
No known key found for this signature in database
GPG key ID: BE714B4575D6E328

View file

@ -86,7 +86,7 @@ void __maps_init(void) {
privileged bool __maps_lock(void) {
struct CosmoTib *tib;
if (__tls_enabled)
if (!__tls_enabled)
return false;
tib = __get_tls_privileged();
if (atomic_fetch_add_explicit(&tib->tib_relock_maps, 1, memory_order_relaxed))