From 44e939882a277f4fd081c92b46ad7006646ce3ba Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 9 Oct 2000 14:49:25 +0000 Subject: [PATCH] * fhandler_mem.cc (fhandler_dev_mem::fhandler_dev_mem): Fix debug output. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/fhandler_mem.cc | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index c4a904ea3..5506762f4 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +Mon Oct 9 16:44:00 2000 Corinna Vinschen + + * fhandler_mem.cc (fhandler_dev_mem::fhandler_dev_mem): + Fix debug output. + Mon Oct 9 15:58:00 2000 Corinna Vinschen * fhandler_mem.cc: Eliminate unused include statements. diff --git a/winsup/cygwin/fhandler_mem.cc b/winsup/cygwin/fhandler_mem.cc index 4385cbe07..5aa3bee23 100644 --- a/winsup/cygwin/fhandler_mem.cc +++ b/winsup/cygwin/fhandler_mem.cc @@ -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 */ {