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>2011-06-27 19:06:43 -0700
commitf9cf058613f5d30a3012feaa588312454f1024e6 (patch)
tree8ac96806365d3f4e2653019336c9f8f795da2f84 /com32/mboot
parent2eb008a6e3579f2b1d0d9f28a6ea681966f9c7d7 (diff)
downloadsyslinux-f9cf058613f5d30a3012feaa588312454f1024e6.tar.gz
syslinux-f9cf058613f5d30a3012feaa588312454f1024e6.tar.xz
syslinux-f9cf058613f5d30a3012feaa588312454f1024e6.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;
}