summaryrefslogtreecommitdiff
path: root/src/core/wee-config-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/wee-config-file.c')
-rw-r--r--src/core/wee-config-file.c80
1 files changed, 40 insertions, 40 deletions
diff --git a/src/core/wee-config-file.c b/src/core/wee-config-file.c
index 5aa48ae9f..e18a22440 100644
--- a/src/core/wee-config-file.c
+++ b/src/core/wee-config-file.c
@@ -2526,54 +2526,54 @@ config_file_print_log ()
ptr_config_file = ptr_config_file->next_config)
{
log_printf ("");
- log_printf ("[config (addr:0x%x)]", ptr_config_file);
- log_printf (" plugin . . . . . . . . : 0x%x ('%s')",
+ log_printf ("[config (addr:0x%lx)]", ptr_config_file);
+ log_printf (" plugin . . . . . . . . : 0x%lx ('%s')",
ptr_config_file->plugin,
plugin_get_name (ptr_config_file->plugin));
- log_printf (" name . . . . . . . . . : '%s'", ptr_config_file->name);
- log_printf (" filename . . . . . . . : '%s'", ptr_config_file->filename);
- log_printf (" file . . . . . . . . . : 0x%x", ptr_config_file->file);
- log_printf (" callback_reload. . . . : 0x%x", ptr_config_file->callback_reload);
- log_printf (" callback_reload_data . : 0x%x", ptr_config_file->callback_reload_data);
- log_printf (" sections . . . . . . . : 0x%x", ptr_config_file->sections);
- log_printf (" last_section . . . . . : 0x%x", ptr_config_file->last_section);
- log_printf (" prev_config. . . . . . : 0x%x", ptr_config_file->prev_config);
- log_printf (" next_config. . . . . . : 0x%x", ptr_config_file->next_config);
+ log_printf (" name . . . . . . . . . : '%s'", ptr_config_file->name);
+ log_printf (" filename . . . . . . . : '%s'", ptr_config_file->filename);
+ log_printf (" file . . . . . . . . . : 0x%lx", ptr_config_file->file);
+ log_printf (" callback_reload. . . . : 0x%lx", ptr_config_file->callback_reload);
+ log_printf (" callback_reload_data . : 0x%lx", ptr_config_file->callback_reload_data);
+ log_printf (" sections . . . . . . . : 0x%lx", ptr_config_file->sections);
+ log_printf (" last_section . . . . . : 0x%lx", ptr_config_file->last_section);
+ log_printf (" prev_config. . . . . . : 0x%lx", ptr_config_file->prev_config);
+ log_printf (" next_config. . . . . . : 0x%lx", ptr_config_file->next_config);
for (ptr_section = ptr_config_file->sections; ptr_section;
ptr_section = ptr_section->next_section)
{
log_printf ("");
- log_printf (" [section (addr:0x%x)]", ptr_section);
- log_printf (" name . . . . . . . . . . . : '%s'", ptr_section->name);
- log_printf (" callback_read. . . . . . . : 0x%x", ptr_section->callback_read);
- log_printf (" callback_read_data . . . . : 0x%x", ptr_section->callback_read_data);
- log_printf (" callback_write . . . . . . : 0x%x", ptr_section->callback_write);
- log_printf (" callback_write_data. . . . : 0x%x", ptr_section->callback_write_data);
- log_printf (" callback_write_default . . : 0x%x", ptr_section->callback_write_default);
- log_printf (" callback_write_default_data: 0x%x", ptr_section->callback_write_default_data);
- log_printf (" callback_create_option. . .: 0x%x", ptr_section->callback_create_option);
- log_printf (" callback_create_option_data: 0x%x", ptr_section->callback_create_option_data);
- log_printf (" callback_delete_option. . .: 0x%x", ptr_section->callback_delete_option);
- log_printf (" callback_delete_option_data: 0x%x", ptr_section->callback_delete_option_data);
- log_printf (" options. . . . . . . . . . : 0x%x", ptr_section->options);
- log_printf (" last_option. . . . . . . . : 0x%x", ptr_section->last_option);
- log_printf (" prev_section . . . . . . . : 0x%x", ptr_section->prev_section);
- log_printf (" next_section . . . . . . . : 0x%x", ptr_section->next_section);
+ log_printf (" [section (addr:0x%lx)]", ptr_section);
+ log_printf (" name . . . . . . . . . . . : '%s'", ptr_section->name);
+ log_printf (" callback_read. . . . . . . : 0x%lx", ptr_section->callback_read);
+ log_printf (" callback_read_data . . . . : 0x%lx", ptr_section->callback_read_data);
+ log_printf (" callback_write . . . . . . : 0x%lx", ptr_section->callback_write);
+ log_printf (" callback_write_data. . . . : 0x%lx", ptr_section->callback_write_data);
+ log_printf (" callback_write_default . . : 0x%lx", ptr_section->callback_write_default);
+ log_printf (" callback_write_default_data: 0x%lx", ptr_section->callback_write_default_data);
+ log_printf (" callback_create_option. . .: 0x%lx", ptr_section->callback_create_option);
+ log_printf (" callback_create_option_data: 0x%lx", ptr_section->callback_create_option_data);
+ log_printf (" callback_delete_option. . .: 0x%lx", ptr_section->callback_delete_option);
+ log_printf (" callback_delete_option_data: 0x%lx", ptr_section->callback_delete_option_data);
+ log_printf (" options. . . . . . . . . . : 0x%lx", ptr_section->options);
+ log_printf (" last_option. . . . . . . . : 0x%lx", ptr_section->last_option);
+ log_printf (" prev_section . . . . . . . : 0x%lx", ptr_section->prev_section);
+ log_printf (" next_section . . . . . . . : 0x%lx", ptr_section->next_section);
for (ptr_option = ptr_section->options; ptr_option;
ptr_option = ptr_option->next_option)
{
log_printf ("");
- log_printf (" [option (addr:0x%x)]", ptr_option);
- log_printf (" config_file. . . . . : 0x%x", ptr_option->config_file);
- log_printf (" section. . . . . . . : 0x%x", ptr_option->section);
- log_printf (" name . . . . . . . . : '%s'", ptr_option->name);
- log_printf (" type . . . . . . . . : %d", ptr_option->type);
- log_printf (" description. . . . . : '%s'", ptr_option->description);
- log_printf (" string_values. . . . : 0x%x", ptr_option->string_values);
- log_printf (" min. . . . . . . . . : %d", ptr_option->min);
- log_printf (" max. . . . . . . . . : %d", ptr_option->max);
+ log_printf (" [option (addr:0x%lx)]", ptr_option);
+ log_printf (" config_file. . . . . : 0x%lx", ptr_option->config_file);
+ log_printf (" section. . . . . . . : 0x%lx", ptr_option->section);
+ log_printf (" name . . . . . . . . : '%s'", ptr_option->name);
+ log_printf (" type . . . . . . . . : %d", ptr_option->type);
+ log_printf (" description. . . . . : '%s'", ptr_option->description);
+ log_printf (" string_values. . . . : 0x%lx", ptr_option->string_values);
+ log_printf (" min. . . . . . . . . : %d", ptr_option->min);
+ log_printf (" max. . . . . . . . . : %d", ptr_option->max);
switch (ptr_option->type)
{
case CONFIG_OPTION_TYPE_BOOLEAN:
@@ -2617,10 +2617,10 @@ config_file_print_log ()
case CONFIG_NUM_OPTION_TYPES:
break;
}
- log_printf (" callback_change. . . : 0x%x", ptr_option->callback_change);
- log_printf (" loaded . . . . . . . : %d", ptr_option->loaded);
- log_printf (" prev_option. . . . . : 0x%x", ptr_option->prev_option);
- log_printf (" next_option. . . . . : 0x%x", ptr_option->next_option);
+ log_printf (" callback_change. . . : 0x%lx", ptr_option->callback_change);
+ log_printf (" loaded . . . . . . . : %d", ptr_option->loaded);
+ log_printf (" prev_option. . . . . : 0x%lx", ptr_option->prev_option);
+ log_printf (" next_option. . . . . : 0x%lx", ptr_option->next_option);
}
}
}