summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2017-12-03 15:20:13 +0100
committerAraq <rumpf_a@web.de>2017-12-03 15:20:13 +0100
commita0699870e37f392b8e61ea5bb5216856f720a3ee (patch)
treef4a2b0772f8234167bfc6a7d4e40ac8cbf289810 /lib
parent82870058d31f5291b63b690139522050a589d233 (diff)
downloadNim-a0699870e37f392b8e61ea5bb5216856f720a3ee.tar.gz
osalloc: improve error message when virtualFree fails
Diffstat (limited to 'lib')
-rw-r--r--lib/system/osalloc.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/osalloc.nim b/lib/system/osalloc.nim
index 65a057772..444f11306 100644
--- a/lib/system/osalloc.nim
+++ b/lib/system/osalloc.nim
@@ -166,7 +166,7 @@ elif defined(windows):
     # space heavily, so we now treat Windows as a strange unmap target.
     when reallyOsDealloc:
       if virtualFree(p, 0, MEM_RELEASE) == 0:
-        cprintf "yes, failing!"
+        cprintf "virtualFree failing!"
         quit 1
     #VirtualFree(p, size, MEM_DECOMMIT)