Fix log arguments error 03/148403/1
authorInkyun Kil <inkyun.kil@samsung.com>
Fri, 8 Sep 2017 01:30:13 +0000 (10:30 +0900)
committerInkyun Kil <inkyun.kil@samsung.com>
Fri, 8 Sep 2017 01:31:45 +0000 (10:31 +0900)
Change-Id: I30a1994eaae40b3ac43f6b16b51928201018aaad
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
src/data_control_provider.c

index 2368772..175db81 100755 (executable)
@@ -1587,7 +1587,7 @@ int __provider_process(bundle *b, int fd, const char *consumer_appid)
        case DATACONTROL_TYPE_SQL_SELECT:
        {
                if (!__get_int_from_str(arg_list[i++], &column_count)) { /* Column count */
-                       _LOGE("Failed to convert column_count", column_count);
+                       _LOGE("Failed to convert column_count [%s]", arg_list[i - 1]);
                        goto err;
                }
 
@@ -3093,13 +3093,13 @@ int datacontrol_provider_get_select_page_info(
                return DATA_CONTROL_ERROR_INVALID_PARAMETER;
        }
        if (!__get_int_from_str(page_num_str, &result)) {
-               _LOGE("Failed to convert page_num_str", page_num_str);
+               _LOGE("Failed to convert page_num_str[%s]", page_num_str);
                return DATA_CONTROL_ERROR_IO_ERROR;
        }
        *page_num = result;
 
        if (!__get_int_from_str(count_per_page_str, &result)) {
-               _LOGE("Failed to convert count_per_page_str", count_per_page_str);
+               _LOGE("Failed to convert count_per_page_str[%s]", count_per_page_str);
                return DATA_CONTROL_ERROR_IO_ERROR;
        }
        *count_per_page = result;