aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/malloc.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2006-04-28 14:07:41 +0000
committerMichael Brown <mcb30@etherboot.org>2006-04-28 14:07:41 +0000
commit51feeab4454b139a750f01d53cd168f9c1fc481f (patch)
tree899db350e70193d41adb8fff2458abf5101748c7 /src/core/malloc.c
parent084f6b18f775958a2e69d68efbe4a9b364e6664f (diff)
downloadipxe-51feeab4454b139a750f01d53cd168f9c1fc481f.tar.gz
Add an explicit failure debug message
Diffstat (limited to 'src/core/malloc.c')
-rw-r--r--src/core/malloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/malloc.c b/src/core/malloc.c
index f6d0ffde4..3084053cd 100644
--- a/src/core/malloc.c
+++ b/src/core/malloc.c
@@ -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;
}