* mmap.cc (fhandler_dev_zero::fixup_mmap_after_fork): Use

system_printf like any other fixup_mmap_after_fork.
This commit is contained in:
Corinna Vinschen 2005-12-15 09:04:28 +00:00
parent bc0d578d39
commit 8b1ba065a6
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2005-12-15 Corinna Vinschen <corinna@vinschen.de>
* mmap.cc (fhandler_dev_zero::fixup_mmap_after_fork): Use
system_printf like any other fixup_mmap_after_fork.
2005-12-14 Corinna Vinschen <corinna@vinschen.de> 2005-12-14 Corinna Vinschen <corinna@vinschen.de>
* fhandler.cc (ACCFLAGS): Remove macro. * fhandler.cc (ACCFLAGS): Remove macro.

View File

@ -1708,9 +1708,9 @@ fhandler_dev_zero::fixup_mmap_after_fork (HANDLE h, int prot, int flags,
{ {
MEMORY_BASIC_INFORMATION m; MEMORY_BASIC_INFORMATION m;
VirtualQuery (address, &m, sizeof (m)); VirtualQuery (address, &m, sizeof (m));
debug_printf ("requested %p != %p mem alloc base %p, state %p, " system_printf ("requested %p != %p mem alloc base %p, state %p, "
"size %d, %E", address, base, m.AllocationBase, m.State, "size %d, %E", address, base, m.AllocationBase, m.State,
m.RegionSize); m.RegionSize);
} }
return base == address; return base == address;
} }