Fix WGID 264373 65/162965/1 accepted/tizen/unified/20171207.070233 submit/tizen/20171207.042822
authorsaerome.kim <saerome.kim@samsung.com>
Wed, 6 Dec 2017 12:14:59 +0000 (21:14 +0900)
committersaerome.kim <saerome.kim@samsung.com>
Wed, 6 Dec 2017 12:14:59 +0000 (21:14 +0900)
Change-Id: I161c9e52b4cbef70da98c4a3dedfae35f8e133d0
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
src/util/mtp_thread.c [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index e4ba76e..2ea7380
@@ -46,7 +46,7 @@ mtp_bool _util_thread_create(pthread_t *tid, const mtp_char *tname,
 
        error = pthread_create(tid, &attr, thread_func, arg);
        if (error != 0) {
-               ERR("[%s] Thread creation Fail errno [%d]\n", tname, errno);
+               ERR("Thread creation Fail [%d], errno [%d]\n", error, errno);
                pthread_attr_destroy(&attr);
                return FALSE;
        }