summaryrefslogtreecommitdiff
path: root/com32/include/sys
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@linux.intel.com>2011-03-08 13:13:28 +0000
committerMatt Fleming <matt.fleming@linux.intel.com>2011-03-09 14:32:36 +0000
commitf1a65c520b2d7d8d15034d704c0c91842e7cbdc1 (patch)
tree90646c6de15f5ee37f87ebe7127b5e9aa46aa390 /com32/include/sys
parent1357b7e627064e7c498ae6107b141c3d2aed3a46 (diff)
downloadsyslinux-f1a65c520b2d7d8d15034d704c0c91842e7cbdc1.tar.gz
Convert mp() to dprintf()
There's only one function required for printing debugging information and that is dprintf() - there is no need to invent another. dprintf() is also superior to mp() because it can be enabled/disabled on a per-file basis via the DEBUG symbol. Switch all users of mp() to dprintf() and leave them disabled (don't define the DEBUG) so we have a less verbose boot by default. Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
Diffstat (limited to 'com32/include/sys')
-rw-r--r--com32/include/sys/module.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/include/sys/module.h b/com32/include/sys/module.h
index 0c7c71f4..dbeab4a5 100644
--- a/com32/include/sys/module.h
+++ b/com32/include/sys/module.h
@@ -135,7 +135,7 @@ struct elf_module {
static inline void dump_elf_module(struct elf_module *module)
{
/*
- mp("module name = %s", module->name);
+ dprintf("module name = %s", module->name);
printf("base_addr = 0x%p, module_size = %d\n", module->base_addr, module->module_size);
printf("hash tlb = 0x%p, ghash tbl = 0x%p\n", module->hash_table, module->ghash_table);
printf("str tbl = 0x%p, size = %d\n", module->str_table, module->strtable_size);