mirror of
https://github.com/ipxe/ipxe
synced 2025-12-15 00:12:19 +03:00
[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:
committed by
Michael Brown
parent
8cac5c0c92
commit
acd74089f5
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user