From: Seonah Moon Date: Tue, 20 Jun 2017 02:16:57 +0000 (+0900) Subject: [RQ170614-00155] Fixed invalid format argument types X-Git-Tag: accepted/tizen/unified/20170623.072741^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=691f5ef387c9e360a4b447856dbea0505e3a1e7b;p=platform%2Fframework%2Fweb%2Fdownload-provider.git [RQ170614-00155] Fixed invalid format argument types Change-Id: If558ab55b3ae16ee999630c6e9fd276a71c7f594 Signed-off-by: Seonah Moon --- diff --git a/agent/include/download-agent-debug.h b/agent/include/download-agent-debug.h index 23c2a66..3caabb5 100755 --- a/agent/include/download-agent-debug.h +++ b/agent/include/download-agent-debug.h @@ -40,10 +40,10 @@ #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__) @@ -53,10 +53,10 @@ #include #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 diff --git a/packaging/download-provider.spec b/packaging/download-provider.spec index 2275f43..ff9ed07 100755 --- a/packaging/download-provider.spec +++ b/packaging/download-provider.spec @@ -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