Fix wrong function name in log message (#1774)

This commit is contained in:
Carsten Grohmann 2021-10-10 04:08:32 +02:00 committed by GitHub
parent b4edad86d6
commit be0b17329a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ AutoLock::~AutoLock()
if (is_lock_acquired) { if (is_lock_acquired) {
int result = pthread_mutex_unlock(auto_mutex); int result = pthread_mutex_unlock(auto_mutex);
if(result != 0){ if(result != 0){
S3FS_PRN_CRIT("pthread_mutex_lock returned: %d", result); S3FS_PRN_CRIT("pthread_mutex_unlock returned: %d", result);
abort(); abort();
} }
} }