From acd74089f59fbc24f2b7cfeb5432b3a8464aff0d Mon Sep 17 00:00:00 2001 From: Thomas Miletich Date: Mon, 23 Jul 2012 22:53:13 +0100 Subject: [PATCH] [vmware] Fix compilation under OpenBSD Reported-by: Jiri B Signed-off-by: Michael Brown --- src/arch/i386/interface/vmware/guestinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;