Add an explicit failure debug message
authorMichael Brown <mcb30@etherboot.org>
Fri, 28 Apr 2006 14:07:41 +0000 (14:07 +0000)
committerMichael Brown <mcb30@etherboot.org>
Fri, 28 Apr 2006 14:07:41 +0000 (14:07 +0000)
src/core/malloc.c

index f6d0ffd..3084053 100644 (file)
@@ -123,6 +123,8 @@ void * alloc_memblock ( size_t size, size_t align ) {
                        return block;
                }
        }
+
+       DBG ( "Failed to allocate %z (aligned %zx)\n", size, align );
        return NULL;
 }