[vmware] Fix compilation under OpenBSD

Reported-by: Jiri B <jirib@devio.us>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Thomas Miletich
2012-07-23 22:53:13 +01:00
committed by Michael Brown
parent 8cac5c0c92
commit acd74089f5

View File

@@ -91,7 +91,7 @@ static int guestinfo_fetch_type ( struct settings *settings,
/* Allocate temporary block to hold GuestInfo value */ /* Allocate temporary block to hold GuestInfo value */
info = zalloc ( info_len + 1 /* NUL */ ); info = zalloc ( info_len + 1 /* NUL */ );
if ( ! info ) { 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 ); settings, info_len );
ret = -ENOMEM; ret = -ENOMEM;
goto err_alloc; goto err_alloc;