projects
/
platform
/
core
/
system
/
swap-probe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dda3f5e
)
Fix errno obtaining in mutex_lock
author
Nikita Kalyazin
<n.kalyazin@samsung.com>
Sun, 16 Jun 2013 09:44:05 +0000
(13:44 +0400)
committer
Nikita Kalyazin
<n.kalyazin@samsung.com>
Sun, 16 Jun 2013 09:44:05 +0000
(13:44 +0400)
probe_thread/libdasync.c
patch
|
blob
|
history
diff --git
a/probe_thread/libdasync.c
b/probe_thread/libdasync.c
index
6876919
..
322fcc1
100644
(file)
--- a/
probe_thread/libdasync.c
+++ b/
probe_thread/libdasync.c
@@
-100,7
+100,7
@@
int pthread_mutex_lock(pthread_mutex_t *mutex) {
PREPARE_LOCAL_BUF();
PACK_COMMON_BEGIN(MSG_PROBE_SYNC, LC_SYNC, "p", mutex);
- PACK_COMMON_END(ret, pthread_mutex_lockp,
new
errno);
+ PACK_COMMON_END(ret, pthread_mutex_lockp, errno);
PACK_SYNC(mutex, SYNC_PTHREAD_MUTEX, SYNC_API_ACQUIRE_WAIT_END);
FLUSH_LOCAL_BUF();