From 2638a34c1db6a52ff7ea32b66f737708476e247b Mon Sep 17 00:00:00 2001 From: cookie Date: Fri, 18 Mar 2016 13:50:37 +0900 Subject: [PATCH] fix the Svace issue for TRACE_STRERROR Change-Id: Ifcad1050d42c8ca1f818241e6891976e94019a78 Signed-off-by: cookie --- provider/include/download-provider-log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider/include/download-provider-log.h b/provider/include/download-provider-log.h index 5b1b0cd..5d04e3e 100755 --- a/provider/include/download-provider-log.h +++ b/provider/include/download-provider-log.h @@ -30,7 +30,7 @@ #define TRACE_DEBUG(...) do { } while(0) #endif #define TRACE_ERROR(format, ARG...) LOGE(format, ##ARG) -#define TRACE_STRERROR(format, ARG...) LOGE(format" [%s]", ##ARG, strerror(errno)) +#define TRACE_STRERROR(format, ARG...) LOGE(format" [%s]", ##ARG) #define TRACE_INFO(format, ARG...) LOGI(format, ##ARG) #define TRACE_WARN(format, ARG...) LOGW(format, ##ARG) -- 2.7.4