mirror of
https://gitee.com/openharmony/startup_init
synced 2024-12-02 16:06:31 +00:00
codex
Signed-off-by: chengjinsong <chengjinsong2@huawei.com>
This commit is contained in:
parent
4cba28d6d7
commit
77b09b2ab4
@ -55,7 +55,7 @@ int ParamRWMutexUnlock(ParamRWMutex *lock)
|
||||
int ParamRWMutexDelete(ParamRWMutex *lock)
|
||||
{
|
||||
PARAM_CHECK(lock != NULL, return -1, "Invalid lock");
|
||||
uint32_t ret = pthread_rwlock_destroy(&lock->rwlock);
|
||||
int ret = pthread_rwlock_destroy(&lock->rwlock);
|
||||
PARAM_CHECK(ret == 0, return -1, "Failed to mutex lock ret %d", ret);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user