diff options
Diffstat (limited to 'libc-bottom-half/crt')
-rw-r--r-- | libc-bottom-half/crt/crt1-command.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc-bottom-half/crt/crt1-command.c b/libc-bottom-half/crt/crt1-command.c index fb9ee71..d2030cb 100644 --- a/libc-bottom-half/crt/crt1-command.c +++ b/libc-bottom-half/crt/crt1-command.c @@ -20,18 +20,18 @@ void _start(void) { static volatile _Atomic int started = 0; int expected = 0; if (!atomic_compare_exchange_strong(&started, &expected, 1)) { - __builtin_trap(); + __builtin_trap(); } #else static volatile int started = 0; if (started != 0) { - __builtin_trap(); + __builtin_trap(); } started = 1; #endif #ifdef _REENTRANT - __wasi_init_tp(); + __wasi_init_tp(); #endif // The linker synthesizes this to call constructors. |