Browse Source

[vmware] Fix compilation under OpenBSD

Reported-by: Jiri B <jirib@devio.us>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Thomas Miletich 12 years ago
parent
commit
acd74089f5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/arch/i386/interface/vmware/guestinfo.c

+ 1
- 1
src/arch/i386/interface/vmware/guestinfo.c View File

91
 	/* Allocate temporary block to hold GuestInfo value */
91
 	/* Allocate temporary block to hold GuestInfo value */
92
 	info = zalloc ( info_len + 1 /* NUL */ );
92
 	info = zalloc ( info_len + 1 /* NUL */ );
93
 	if ( ! info ) {
93
 	if ( ! info ) {
94
-		DBGC ( settings, "GuestInfo %p could not allocate %zd bytes\n",
94
+		DBGC ( settings, "GuestInfo %p could not allocate %d bytes\n",
95
 		       settings, info_len );
95
 		       settings, info_len );
96
 		ret = -ENOMEM;
96
 		ret = -ENOMEM;
97
 		goto err_alloc;
97
 		goto err_alloc;

Loading…
Cancel
Save