1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys/posix/pthread: fix typo 'defore' -> 'before'

This commit is contained in:
Alexandre Abadie 2020-10-02 08:15:31 +02:00
parent fce6e4032d
commit 13a897e2c7
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -182,7 +182,7 @@ void __pthread_keys_exit(int self_id)
{
tls_data_t **tls = __pthread_get_tls_head(self_id);
/* Calling the dtor could cause another pthread_exit(), so we dehead and free defore calling it. */
/* Calling the dtor could cause another pthread_exit(), so we dehead and free before calling it. */
mutex_lock(&tls_mutex);
for (tls_data_t *specific; (specific = *tls); ) {
*tls = specific->next;