summaryrefslogtreecommitdiff
path: root/dyn_load.c
diff options
context:
space:
mode:
authorivmai <ivmai>2009-11-05 12:58:23 +0100
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:51 +0200
commit0ae010d8da6e1d5116786987bbc95f1843f52254 (patch)
treeed9b445926b41a50deb5fc8489ee61e7abd51e5d /dyn_load.c
parente170f30676739a2396b35d670c6fb977abb94356 (diff)
2009-11-05 Ivan Maidanski <ivmai@mail.ru>
* dyn_load.c (GC_dump_meminfo): Prefix "%lx" printf type specifier with "0x". * os_dep.c (PROTECT): Ditto. * win32_threads.c (GC_mark_thread_local_free_lists): Cast p->id to int (to match printf type specifier).
Diffstat (limited to 'dyn_load.c')
-rw-r--r--dyn_load.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/dyn_load.c b/dyn_load.c
index 89874dd..ccb08d5 100644
--- a/dyn_load.c
+++ b/dyn_load.c
@@ -843,13 +843,12 @@ GC_INNER void GC_register_dynamic_libraries(void)
# ifdef DEBUG_VIRTUALQUERY
void GC_dump_meminfo(MEMORY_BASIC_INFORMATION *buf)
{
- GC_printf("BaseAddress = %lx, AllocationBase = %lx, RegionSize = %lx(%lu)\n",
- buf -> BaseAddress, buf -> AllocationBase, buf -> RegionSize,
- buf -> RegionSize);
- GC_printf("\tAllocationProtect = %lx, State = %lx, Protect = %lx, "
- "Type = %lx\n",
- buf -> AllocationProtect, buf -> State, buf -> Protect,
- buf -> Type);
+ GC_printf("BaseAddress = 0x%lx, AllocationBase = 0x%lx,"
+ " RegionSize = 0x%lx(%lu)\n", buf -> BaseAddress,
+ buf -> AllocationBase, buf -> RegionSize, buf -> RegionSize);
+ GC_printf("\tAllocationProtect = 0x%lx, State = 0x%lx, Protect = 0x%lx, "
+ "Type = 0x%lx\n", buf -> AllocationProtect, buf -> State,
+ buf -> Protect, buf -> Type);
}
# endif /* DEBUG_VIRTUALQUERY */