summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/core/runtime.c
diff options
context:
space:
mode:
authorMichael Brown2012-03-23 00:52:24 +0100
committerMichael Brown2012-03-23 00:52:24 +0100
commit4766b1455f590760af778262be1fe2963a1549a1 (patch)
tree56d53cd71c5989dc33e285dd253cb116295c8905 /src/arch/i386/core/runtime.c
parent[image] Add concept of trusted images (diff)
downloadipxe-4766b1455f590760af778262be1fe2963a1549a1.tar.gz
ipxe-4766b1455f590760af778262be1fe2963a1549a1.tar.xz
ipxe-4766b1455f590760af778262be1fe2963a1549a1.zip
[build] Fix compilation under Cygwin
Originally-fixed-by: Steve Goodrich <steve.goodrich@se-eng.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/i386/core/runtime.c')
-rw-r--r--src/arch/i386/core/runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/core/runtime.c b/src/arch/i386/core/runtime.c
index 7d410c99..4268457f 100644
--- a/src/arch/i386/core/runtime.c
+++ b/src/arch/i386/core/runtime.c
@@ -201,7 +201,7 @@ static int initrd_init ( void ) {
/* Allocate and copy initrd content */
image->data = umalloc ( initrd_len );
if ( ! image->data ) {
- DBGC ( colour, "RUNTIME could not allocate %zd bytes for "
+ DBGC ( colour, "RUNTIME could not allocate %d bytes for "
"initrd\n", initrd_len );
rc = -ENOMEM;
goto err_umalloc;