[RQ170614-00155] Fixed invalid format argument types 72/134672/1 accepted/tizen/unified/20170623.072741 submit/tizen/20170620.040405
authorSeonah Moon <seonah1.moon@samsung.com>
Tue, 20 Jun 2017 02:16:57 +0000 (11:16 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Tue, 20 Jun 2017 02:17:08 +0000 (11:17 +0900)
Change-Id: If558ab55b3ae16ee999630c6e9fd276a71c7f594
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
agent/include/download-agent-debug.h
packaging/download-provider.spec

index 23c2a66..3caabb5 100755 (executable)
        #endif /*  LOG_TAG */
 
        #define LOG_TAG "DP_DA"
-       #define DA_LOGV(format, ...) ((void)0)//LOGD("[%d]:"format, syscall(__NR_gettid), ##__VA_ARGS__)
-       #define DA_LOGD(format, ...) LOGD(COLOR_LIGHTBLUE "[%d]:"format COLOR_END, syscall(__NR_gettid), ##__VA_ARGS__)
-       #define DA_LOGI(format, ...) LOGI(COLOR_BROWN "[%d]:"format COLOR_END, syscall(__NR_gettid), ##__VA_ARGS__)
-       #define DA_LOGE(format, ...) LOGE(COLOR_RED "[%d]:"format COLOR_END, syscall(__NR_gettid), ##__VA_ARGS__)
+       #define DA_LOGV(format, ...) ((void)0)//LOGD("[%ld]:"format, syscall(__NR_gettid), ##__VA_ARGS__)
+       #define DA_LOGD(format, ...) LOGD(COLOR_LIGHTBLUE "[%ld]:"format COLOR_END, syscall(__NR_gettid), ##__VA_ARGS__)
+       #define DA_LOGI(format, ...) LOGI(COLOR_BROWN "[%ld]:"format COLOR_END, syscall(__NR_gettid), ##__VA_ARGS__)
+       #define DA_LOGE(format, ...) LOGE(COLOR_RED "[%ld]:"format COLOR_END, syscall(__NR_gettid), ##__VA_ARGS__)
        #define DA_SECURE_LOGD(format, ...) SECURE_LOGD(COLOR_GREEN format COLOR_END, ##__VA_ARGS__)
        #define DA_SECURE_LOGI(format, ...) SECURE_LOGI(COLOR_GREEN format COLOR_END, ##__VA_ARGS__)
        #define DA_SECURE_LOGE(format, ...) SECURE_LOGE(COLOR_GREEN format COLOR_END, ##__VA_ARGS__)
 #include <syscall.h>
 
        #define DA_LOGD(format, ...) do {\
-                               fprintf(stderr, "[DA][%d][%s():%d] "format"\n",syscall(__NR_gettid), __FUNCTION__,__LINE__, ##__VA_ARGS__);\
+                               fprintf(stderr, "[DA][%ld][%s():%d] "format"\n",syscall(__NR_gettid), __FUNCTION__,__LINE__, ##__VA_ARGS__);\
        }while(0)
        #define DA_LOGE(format, ...) do {\
-                               fprintf(stderr, "[DA][%d][ERR][%s():%d]\n",syscall(__NR_gettid), __FUNCTION__,__LINE__, ##__VA_ARGS__);\
+                               fprintf(stderr, "[DA][%ld][ERR][%s():%d]\n",syscall(__NR_gettid), __FUNCTION__,__LINE__, ##__VA_ARGS__);\
        }while(0)
        #define DA_LOGV DA_LOGD
        #define DA_LOGI DA_LOGD
index 2275f43..ff9ed07 100755 (executable)
@@ -1,7 +1,7 @@
 %define _ux_define tizen2.3
 Name:       download-provider
 Summary:    Download the contents in background
-Version:    2.1.82
+Version:    2.1.83
 Release:    0
 Group:      Development/Libraries
 License:    Apache-2.0