diff options
Diffstat (limited to 'once.c')
-rw-r--r-- | once.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ int sa_once(sa_once_t *control, sa_once_func_t func) { } sa_mutex_unlock(global_mutex); - if (!r) + if (r) return -1; /* Execute function */ |