foxygit / doom Log in
commit bc3ed56fcb57da03b3bba4d7a4591535e0e3d44a
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Mon Jul 30 00:44:49 2007 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Mon Jul 30 00:44:49 2007 +0000

    Make the z_native "out of memory" error message match the normal z_zone
    one.

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 941
---
 src/z_native.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
             }
         }
     }