summaryrefslogtreecommitdiffstats
path: root/src/core/malloc.c
diff options
context:
space:
mode:
authorMichael Brown2006-04-28 16:07:41 +0200
committerMichael Brown2006-04-28 16:07:41 +0200
commit51feeab4454b139a750f01d53cd168f9c1fc481f (patch)
tree899db350e70193d41adb8fff2458abf5101748c7 /src/core/malloc.c
parentExclude bin directory from tags generation. (diff)
downloadipxe-51feeab4454b139a750f01d53cd168f9c1fc481f.tar.gz
ipxe-51feeab4454b139a750f01d53cd168f9c1fc481f.tar.xz
ipxe-51feeab4454b139a750f01d53cd168f9c1fc481f.zip
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 f6d0ffde..3084053c 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;
}