use "MB" rather than "Mb" for abbreviating megabytes
authorsimonmar@microsoft.com <unknown>
Tue, 18 Dec 2007 14:51:35 +0000 (14:51 +0000)
committersimonmar@microsoft.com <unknown>
Tue, 18 Dec 2007 14:51:35 +0000 (14:51 +0000)
rts/Stats.c
rts/hooks/OutOfHeap.c

index b9df019..fcca405 100644 (file)
@@ -546,7 +546,7 @@ stat_exit(int alloc)
                         TICK_TO_DBL(GC_coll_etimes[g]));
            }
 
-           statsPrintf("\n%11ld Mb total memory in use\n\n", 
+           statsPrintf("\n%11ld MB total memory in use\n\n", 
                    mblocks_allocated * MBLOCK_SIZE / (1024 * 1024));
 
 #if defined(THREADED_RTS)
index 98db0d7..e998237 100644 (file)
@@ -13,7 +13,7 @@ OutOfHeapHook (lnat request_size, lnat heap_size) /* both sizes in bytes */
   /*    fprintf(stderr, "Heap exhausted;\nwhile trying to allocate %lu bytes in a %lu-byte heap;\nuse `+RTS -H<size>' to increase the total heap size.\n", */
 
   (void)request_size;   /* keep gcc -Wall happy */
-  fprintf(stderr, "Heap exhausted;\nCurrent maximum heap size is %lu bytes (%lu Mb);\nuse `+RTS -M<size>' to increase it.\n",
+  fprintf(stderr, "Heap exhausted;\nCurrent maximum heap size is %lu bytes (%lu MB);\nuse `+RTS -M<size>' to increase it.\n",
          heap_size, heap_size / (1024*1024));
 }