aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Miletich <thomas.miletich@gmail.com>2012-07-23 22:53:13 +0100
committerMichael Brown <mcb30@ipxe.org>2012-07-23 22:53:13 +0100
commitacd74089f59fbc24f2b7cfeb5432b3a8464aff0d (patch)
tree428b25d3d5e19c920d9ba12f41b69143e8f5c924
parent8cac5c0c9299b8fd176561d8672a87f07de38f88 (diff)
downloadipxe-acd74089f59fbc24f2b7cfeb5432b3a8464aff0d.zip
ipxe-acd74089f59fbc24f2b7cfeb5432b3a8464aff0d.tar.gz
ipxe-acd74089f59fbc24f2b7cfeb5432b3a8464aff0d.tar.bz2
[vmware] Fix compilation under OpenBSD
Reported-by: Jiri B <jirib@devio.us> Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rw-r--r--src/arch/i386/interface/vmware/guestinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/interface/vmware/guestinfo.c b/src/arch/i386/interface/vmware/guestinfo.c
index 3e20b8e..5e08d94 100644
--- a/src/arch/i386/interface/vmware/guestinfo.c
+++ b/src/arch/i386/interface/vmware/guestinfo.c
@@ -91,7 +91,7 @@ static int guestinfo_fetch_type ( struct settings *settings,
/* Allocate temporary block to hold GuestInfo value */
info = zalloc ( info_len + 1 /* NUL */ );
if ( ! info ) {
- DBGC ( settings, "GuestInfo %p could not allocate %zd bytes\n",
+ DBGC ( settings, "GuestInfo %p could not allocate %d bytes\n",
settings, info_len );
ret = -ENOMEM;
goto err_alloc;