summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJihoon Jung <jh8801.jung@samsung.com>2019-10-10 22:57:03 +0900
committerJihoon Jung <jh8801.jung@samsung.com>2019-10-10 22:57:50 +0900
commit852ac4ce0bd026fd787068a2e89ac63755d2b66a (patch)
tree06bc9eecb8e9341d54b7a77da99b9df9e446d975
parente80daa48c3c5be8b34387e399c849fe6c7e407e6 (diff)
downloadmtp-responder-852ac4ce0bd026fd787068a2e89ac63755d2b66a.tar.gz
mtp-responder-852ac4ce0bd026fd787068a2e89ac63755d2b66a.tar.bz2
mtp-responder-852ac4ce0bd026fd787068a2e89ac63755d2b66a.zip
Change-Id: Ie7796822a6fdd97680e7ac0b4efbf08e6e48c262 Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
-rw-r--r--src/mtp_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mtp_init.c b/src/mtp_init.c
index e0681e2..ff4777a 100644
--- a/src/mtp_init.c
+++ b/src/mtp_init.c
@@ -94,9 +94,9 @@ static void __mtp_exit(void)
static gboolean __check_internal_storage(gpointer user_data)
{
- UTIL_LOCK_MUTEX(&g_cmd_inoti_mutex);
+ pthread_mutex_lock(&g_cmd_inoti_mutex);
_handle_lock_status_notification(NULL, NULL);
- UTIL_UNLOCK_MUTEX(&g_cmd_inoti_mutex);
+ pthread_mutex_unlock(&g_cmd_inoti_mutex);
return true;
}