summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2007-07-30 00:44:49 +0000
committerSimon Howard2007-07-30 00:44:49 +0000
commitbc3ed56fcb57da03b3bba4d7a4591535e0e3d44a (patch)
tree2ca421eb14c572773b2272a0071def2b1ca4a4e7
parent3f8b7b23999b672f2aac922c9c1ba04e32628396 (diff)
downloadchocolate-doom-bc3ed56fcb57da03b3bba4d7a4591535e0e3d44a.tar.gz
chocolate-doom-bc3ed56fcb57da03b3bba4d7a4591535e0e3d44a.tar.bz2
chocolate-doom-bc3ed56fcb57da03b3bba4d7a4591535e0e3d44a.zip
Make the z_native "out of memory" error message match the normal z_zone
one. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 941
-rw-r--r--src/z_native.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/z_native.c b/src/z_native.c
index 9f4c8b37..199c9426 100644
--- a/src/z_native.c
+++ b/src/z_native.c
@@ -264,7 +264,7 @@ void *Z_Malloc(int size, int tag, void *user)
{
if (!ClearCache(sizeof(memblock_t) + size))
{
- I_Error("Out of memory!");
+ I_Error("Z_Malloc: failed on allocation of %i bytes", size);
}
}
}