From: Thomas Miletich Date: Mon, 23 Jul 2012 21:53:13 +0000 (+0100) Subject: [vmware] Fix compilation under OpenBSD X-Git-Tag: v1.20.1~1684 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acd74089f59fbc24f2b7cfeb5432b3a8464aff0d;p=thirdparty%2Fipxe.git [vmware] Fix compilation under OpenBSD Reported-by: Jiri B Signed-off-by: Michael Brown --- diff --git a/src/arch/i386/interface/vmware/guestinfo.c b/src/arch/i386/interface/vmware/guestinfo.c index 3e20b8ed5..5e08d9471 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;