diff options
-rw-r--r-- | rts/win32/OSMem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/win32/OSMem.c b/rts/win32/OSMem.c index fd26d06c4e..dd53f4d589 100644 --- a/rts/win32/OSMem.c +++ b/rts/win32/OSMem.c @@ -472,7 +472,7 @@ void osCommitMemory (void *at, W_ size) temp = VirtualAlloc(at, size, MEM_COMMIT, PAGE_READWRITE); if (temp == NULL) { sysErrorBelch("osCommitMemory: VirtualAlloc MEM_COMMIT failed"); - stg_exit(EXIT_FAILURE); + stg_exit(EXIT_HEAPOVERFLOW); } } |