* fhandler_mem.cc (fhandler_dev_mem::fhandler_dev_mem): Fix debug output.

This commit is contained in:
Corinna Vinschen 2000-10-09 14:49:25 +00:00
parent 21fdffa58a
commit 44e939882a
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Mon Oct 9 16:44:00 2000 Corinna Vinschen <corinna@vinschen.de>
* fhandler_mem.cc (fhandler_dev_mem::fhandler_dev_mem):
Fix debug output.
Mon Oct 9 15:58:00 2000 Corinna Vinschen <corinna@vinschen.de>
* fhandler_mem.cc: Eliminate unused include statements.

View File

@ -83,12 +83,12 @@ fhandler_dev_mem::fhandler_dev_mem (const char *name, int nunit)
}
else
mem_size = sbi.PhysicalPageSize * sbi.NumberOfPhysicalPages;
debug_printf ("MemSize: %d MB", mem_size >>= 20);
debug_printf ("MemSize: %d MB", mem_size >> 20);
}
else if (unit == 2) /* /dev/kmem - Not yet supported */
{
mem_size = 0;
debug_printf ("KMemSize: %d MB", mem_size >>= 20);
debug_printf ("KMemSize: %d MB", mem_size >> 20);
}
else if (unit == 4) /* /dev/port == First 64K of /dev/mem */
{