Fix comment typos
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
f25d831123
commit
8c6d332c44
1 changed files with 3 additions and 3 deletions
|
@ -59,9 +59,9 @@ static void threading_mutex_init_pthread(mbedtls_threading_mutex_t *mutex)
|
|||
/* One problem here is that calling lock on a pthread mutex without first
|
||||
* having initialised it is undefined behaviour. Obviously we cannot check
|
||||
* this here in a thread safe manner without a significant performance
|
||||
* hit, so state transitions are checked in tests only via the is_valid
|
||||
* varaible. Please make sure any new mutex that gets added is exercised in
|
||||
* tests; see tests/src/threading_helpers for more details. */
|
||||
* hit, so state transitions are checked in tests only via the state
|
||||
* variable. Please make sure any new mutex that gets added is exercised in
|
||||
* tests; see tests/src/threading_helpers.c for more details. */
|
||||
(void) pthread_mutex_init(&mutex->mutex, NULL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue