From d94667c4033082efe8d346b4c910e4580ac9f3f5 Mon Sep 17 00:00:00 2001 From: Hyunho Kang Date: Fri, 7 Jul 2017 10:04:59 +0900 Subject: [PATCH] Fix wrong log format Change-Id: I56f1af732ce28d4f640f5f0cc743b0cffcd5a376 Signed-off-by: Hyunho Kang --- src/data_control_internal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data_control_internal.c b/src/data_control_internal.c index 4b9343f..4ebac50 100755 --- a/src/data_control_internal.c +++ b/src/data_control_internal.c @@ -386,7 +386,7 @@ static int __recv_sql_select_process(bundle *kb, int fd, getuid(), DATACONTROL_REQUEST_FILE_PREFIX, (char *)bundle_get_val(kb, AUL_K_CALLER_APPID), req_id); if (size < 0) { - _LOGE("unable to write formatted output to select_map_file. errno = %d", errno); + _LOGE("unable to write formatted output to select_map_file. errno = %d", errno); retval = DATA_CONTROL_ERROR_IO_ERROR; goto out; } @@ -598,7 +598,7 @@ static int __recv_sql_select_process(bundle *kb, int fd, retval = DATA_CONTROL_ERROR_IO_ERROR; goto out; } - _LOGE("value : %s", value); + _LOGE("value : %s", (char *)value); if (write(result_fd, value, sizeof(void) * size) == -1) { _LOGE("Writing a value to a file descriptor is failed. errno = %d", errno); retval = DATA_CONTROL_ERROR_IO_ERROR; -- 2.7.4