item = calloc(1, sizeof(*item));
if (!item) {
char err_buf[256] = { 0, };
- ErrPrint("Heap: %s\n", strerror_r(errno, err_buf, sizeof(err_buf)));
+ ErrPrint("Heap: %d\n", strerror_r(errno, err_buf, sizeof(err_buf)));
return WIDGET_ERROR_OUT_OF_MEMORY;
}
item->pkgname = strdup(pkgname);
if (!item->pkgname) {
char err_buf[256] = { 0, };
- ErrPrint("Heap: %s\n", strerror_r(errno, err_buf, sizeof(err_buf)));
+ ErrPrint("Heap: %d\n", strerror_r(errno, err_buf, sizeof(err_buf)));
DbgFree(item);
return WIDGET_ERROR_OUT_OF_MEMORY;
}
item->icon = strdup(val);
if (!item->icon) {
char err_buf[256] = { 0, };
- ErrPrint("Heap: %s\n", strerror_r(errno, err_buf, sizeof(err_buf)));
+ ErrPrint("Heap: %d\n", strerror_r(errno, err_buf, sizeof(err_buf)));
return WIDGET_ERROR_OUT_OF_MEMORY;
}
new_pkgname = strdup(val);
if (!new_pkgname) {
char err_buf[256] = { 0, };
- ErrPrint("Heap: %s\n", strerror_r(errno, err_buf, sizeof(err_buf)));
+ ErrPrint("Heap: %d\n", strerror_r(errno, err_buf, sizeof(err_buf)));
return WIDGET_ERROR_OUT_OF_MEMORY;
}
highlighted_name = malloc(ret_len);
if (!highlighted_name) {
char err_buf[256] = { 0, };
- ErrPrint("Heap: %s\n", strerror_r(errno, err_buf, sizeof(err_buf)));
+ ErrPrint("Heap: %d\n", strerror_r(errno, err_buf, sizeof(err_buf)));
return NULL;
}
void moments_status_battery_update(int percent, int converted_percent, bool is_charging)
{
- _D("Update battery text[%d%], icon[%d], is_charging[%d]", percent, converted_percent, is_charging);
+ _D("Update battery text[%d], icon[%d], is_charging[%d]", percent, converted_percent, is_charging);
char battery_text[5] = {0, };
char battery_icon[PATH_MAX] = {0, };
_E("formatted_str_len is less than 0");
buf = i18n_ustring_copy_au_n(buf, u_formatted_str, (int32_t)buf_len);
- _SD("date:(%d)[%s][%d]", formatted_str_len, buf, *intime);
+ _SD("date:(%d)[%s][%ld]", formatted_str_len, buf, (long)*intime);
return 0;
}
(*ampm_len) = i18n_ustring_get_length(u_formatted_str);
buf = i18n_ustring_copy_au_n(buf, u_formatted_str, (int32_t)buf_len);
- _SD("ampm:(%d)[%s][%d]", formatted_str_len, buf, *intime);
+ _SD("ampm:(%d)[%s][%ld]", formatted_str_len, buf, (long)*intime);
return 0;
}
_E("formatted_str_len is less than 0");
buf = i18n_ustring_copy_au_n(buf, u_formatted_str, (int32_t)buf_len);
- _SD("time:(%d)[%s][%d]", formatted_str_len, buf, *intime);
+ _SD("time:(%d)[%s][%ld]", formatted_str_len, buf, (long)*intime);
return 0;
}
id = strdup(widget_id);
retv_if(!id, -1);
- _D("widget_id(%s %d) with %s", id, is_prime, data);
+ _D("widget_id(%s %d) with %s", id, is_prime, (char* )data);
pkg_mgr_info.widget_list = eina_list_append(pkg_mgr_info.widget_list, id);
Evas_Coord w, h;
evas_object_size_hint_min_get(obj, &w, &h);
- _D("%s : min (%d:%d)", data, w, h);
+ _D("%s : min (%d:%d)", (char* )data, w, h);
evas_object_size_hint_max_get(obj, &w, &h);
- _D("%s : max (%d:%d)", data, w, h);
+ _D("%s : max (%d:%d)", (char* )data, w, h);
}
Evas_Coord h;
evas_object_geometry_get(obj, &x, &y, &w, &h);
- _D("%s(%p) is resized to (%d, %d, %d, %d)", data, obj, x, y, w, h);
+ _D("%s(%p) is resized to (%d, %d, %d, %d)", (char* )data, obj, x, y, w, h);
evas_object_size_hint_min_get(obj, &w, &h);
- _D("%s : min (%d:%d)", data, w, h);
+ _D("%s : min (%d:%d)", (char* )data, w, h);
evas_object_size_hint_max_get(obj, &w, &h);
- _D("%s : max (%d:%d)", data, w, h);
+ _D("%s : max (%d:%d)", (char* )data, w, h);
}
static void _svc_cb(bundle *b, int request_code, appsvc_result_val result, void *data)
{
- _D("Request code : %d");
+ _D("Request code : %d", request_code);
if (result != APPSVC_RES_OK) {
char* inform;