aboutsummaryrefslogtreecommitdiffstats
path: root/com32/mboot
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2011-06-27 19:06:43 -0700
committerH. Peter Anvin <hpa@zytor.com>2012-05-18 16:04:00 -0700
commit06531db8ec5d58477d7083d3d8130e909206233f (patch)
tree864b5572c8cab87184fe9a93e6f17b35ff3b5c35 /com32/mboot
parentbe697f88819ef20d72d1e7ea7d3d975d1fed5fb0 (diff)
downloadsyslinux-06531db8ec5d58477d7083d3d8130e909206233f.tar.gz
syslinux-06531db8ec5d58477d7083d3d8130e909206233f.tar.xz
syslinux-06531db8ec5d58477d7083d3d8130e909206233f.zip
com32: make syslinux_dump_*() pure debugging functions
Make the syslinux_dump_*() functions pure debugging functions; that is the way that they are used anyway, and this way they log to the same place as dprintf. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/mboot')
-rw-r--r--com32/mboot/map.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/com32/mboot/map.c b/com32/mboot/map.c
index 0a71d4c9..99add306 100644
--- a/com32/mboot/map.c
+++ b/com32/mboot/map.c
@@ -91,10 +91,9 @@ int init_map(void)
error("Failed to allocate initial memory map!\n");
return -1;
}
-#if DEBUG
+
dprintf("Initial memory map:\n");
- syslinux_dump_memmap(stdout, mmap);
-#endif
+ syslinux_dump_memmap(mmap);
return 0;
}