Parcourir la 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 il y a 12 ans
Parent
révision
acd74089f5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      src/arch/i386/interface/vmware/guestinfo.c

+ 1
- 1
src/arch/i386/interface/vmware/guestinfo.c Voir le fichier

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

Chargement…
Annuler
Enregistrer