dbg("Binary mode");
at->pdu_lines = g_slist_append(at->pdu_lines, (gpointer)line);
- dbg("at->pdu_lines: 0x%x", at->pdu_lines);
+ dbg("at->pdu_lines: %p", at->pdu_lines);
} else
at->pdu_lines = g_slist_append(at->pdu_lines, g_strdup(line));
err("HAL is NULL");
return ret;
}
- dbg("hal: [0x%x]", hal);
+ dbg("hal: [%p]", hal);
/* Create Pending Request */
pending = tcore_pending_new(co, 0);
{
GSList *co_list;
- msg("------> Table Entry - HAL: [0x%x]", tbl_entry->hal);
+ msg("------> Table Entry - HAL: [%p]", tbl_entry->hal);
co_list = tbl_entry->object_type;
if (co_list == NULL) {
if (co_list->data == NULL)
continue;
- msg(" Core Object type: [0x%x]", co_list->data);
+ msg(" Core Object type: [%p]", co_list->data);
}
}
tbl_entry = data;
- dbg("Removing Mapping Table Entry - HAL: [0x%x]", tbl_entry->hal);
+ dbg("Removing Mapping Table Entry - HAL: [%p]", tbl_entry->hal);
_util_print_mapping_tbl_entry(tbl_entry);
/* Free Core Object types list */
object_mapping_table_t *tbl_entry;
if (hal == NULL) {
- err("Mapping Table: [0x%x] HAL: [0x%x]", mapping_tbl, hal);
+ err("Mapping Table: [%p] HAL: [%p]", mapping_tbl, hal);
return mapping_tbl;
}
* Appending the Core Object type to the list of Core Objects types
*/
tbl_entry->object_type = g_slist_append(tbl_entry->object_type, GUINT_TO_POINTER(object_type));
- dbg("Added Mapping Table entry - HAL: [0x%x] Object type: [0x%x]", hal, object_type);
+ dbg("Added Mapping Table entry - HAL: [%p] Object type: [0x%x]", hal, object_type);
return mapping_tbl_list;
}
return mapping_tbl_list;
}
- dbg("Removing Mapping Table Entry - HAL: [0x%x]", hal);
+ dbg("Removing Mapping Table Entry - HAL: [%p]", hal);
_util_print_mapping_tbl_entry(tbl_entry);
/* Free Core Object types list */
}
desc = NULL;
}
- err("plugin with desc_name %s not found");
+ err("plugin with desc_name %s not found", desc_name);
return NULL;
}
continue;
}
- msg("Modem: [0x%x] CP Name: [%s]", modem, modem->cp_name);
+ msg("Modem: [%p] CP Name: [%s]", modem, modem->cp_name);
msg("Modem Plug-in: [%s] <---> Modem Interface Plug-in: [%s]",
tcore_plugin_ref_plugin_name(modem->modem_plugin),
tcore_plugin_ref_plugin_name(modem->modem_iface_plugin));