diff options
Diffstat (limited to 'rts')
-rw-r--r-- | rts/hooks/OutOfHeap.c | 2 | ||||
-rw-r--r-- | rts/win32/OSMem.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rts/hooks/OutOfHeap.c b/rts/hooks/OutOfHeap.c index 3058cdd856..20d9809024 100644 --- a/rts/hooks/OutOfHeap.c +++ b/rts/hooks/OutOfHeap.c @@ -31,6 +31,6 @@ OutOfHeapHook (W_ request_size, W_ heap_size) /* both sizes in bytes */ } } else { - errorBelch("Out of memory.\n"); + errorBelch("Out of memory\n"); } } diff --git a/rts/win32/OSMem.c b/rts/win32/OSMem.c index 2a542351ab..ad72ffba29 100644 --- a/rts/win32/OSMem.c +++ b/rts/win32/OSMem.c @@ -74,7 +74,7 @@ allocNew(uint32_t n) { rec=0; if (GetLastError() == ERROR_NOT_ENOUGH_MEMORY) { - errorBelch("Out of memory"); + errorBelch("Out of memory\n"); stg_exit(EXIT_HEAPOVERFLOW); } else { sysErrorBelch( |