summaryrefslogtreecommitdiffstats
path: root/nci/jni/Mutex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nci/jni/Mutex.cpp')
-rw-r--r--nci/jni/Mutex.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/nci/jni/Mutex.cpp b/nci/jni/Mutex.cpp
index a6b1397..6ccb87b 100644
--- a/nci/jni/Mutex.cpp
+++ b/nci/jni/Mutex.cpp
@@ -85,7 +85,7 @@ void Mutex::unlock ()
int res = pthread_mutex_unlock (&mMutex);
if (res != 0)
{
- ALOGE ("Mutex::lock: fail unlock; error=0x%X", res);
+ ALOGE ("Mutex::unlock: fail unlock; error=0x%X", res);
}
}
@@ -104,7 +104,7 @@ bool Mutex::tryLock ()
int res = pthread_mutex_trylock (&mMutex);
if ((res != 0) && (res != EBUSY))
{
- ALOGE ("Mutex::lock: fail try-lock; error=0x%X", res);
+ ALOGE ("Mutex::tryLock: error=0x%X", res);
}
return res == 0;
}