if (value) {
g_hash_table_iter_init(&iter2, (GHashTable *)value);
while (g_hash_table_iter_next(&iter2, &key2, &value2) == TRUE) {
- dbg("[%s] key2(%s) value2(%s)", cp_name, key2, value2);
+ dbg("[%s] key2(%s) value2(%s)", cp_name, (char *)key2, (char *)value2);
if (g_str_equal(key2, "0") == TRUE) {
if (!value2 || g_strcmp0((const char *)value2, "") == 0)
network_id = 0;
info("[%s] Loaded value is wrong... restoring to 'default'", cp_name);
num_of_pdn = max_pdn;
} else if (num_of_pdn > max_pdn) {
- info("[%s] Loaded value is gretaer than %d... restoring to 'default'", max_pdn, cp_name);
+ info("[%s] Loaded value is gretaer than %d... restoring to 'default'", cp_name, max_pdn);
num_of_pdn = max_pdn;
}
g_hash_table_insert(in_param, "2", g_strdup_printf("%d", roaming));
for (retry = 0; retry < 5; retry++) {
- ps_dbg_ex_modem(modem, "Reading database", modem->operator);
+ ps_dbg_ex_modem(modem, "Reading database");
rv = tcore_storage_read_query_database_in_order(strg_db, handle, szQuery, in_param, &out_param, 27);
if (rv != FALSE)
break;
while (g_hash_table_iter_next(&iter, &key, &value) == TRUE) {
if (g_str_equal(key, "apn") == TRUE) {
tcore_context_set_apn(co_context, (const char *)value);
- info("APN (%s)", value);
+ info("APN (%s)", (const char *)value);
} else if (g_str_equal(key, "profile_name") == TRUE) {
tcore_context_set_profile_name(co_context, (const char *)value);
} else if (g_str_equal(key, "auth_type") == TRUE) {
co_network = tcore_plugin_ref_core_object(tcore_object_ref_plugin(co_modem),
CORE_OBJECT_TYPE_NETWORK);
- ps_info_ex_modem(modem, "Sending Pending Request of type = id", id);
+ ps_info_ex_modem(modem, "Sending Pending Request of type = %u", id);
tcore_user_request_set_response_hook(ur, __ps_hook_response_cb, modem);
if ((command == TRESP_NETWORK_SET_CANCEL_MANUAL_SEARCH)
|| (command == TRESP_NETWORK_SEARCH)
wqd->ur = ur;
g_queue_push_tail(queue, wqd);
- dbg("id = %d, ur = 0x%x", wqd->id, wqd->ur);
+ dbg("id = %d, ur = %p", wqd->id, wqd->ur);
return TRUE;
}