]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[vmware] Fix compilation under OpenBSD
authorThomas Miletich <thomas.miletich@gmail.com>
Mon, 23 Jul 2012 21:53:13 +0000 (22:53 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 23 Jul 2012 21:53:13 +0000 (22:53 +0100)
Reported-by: Jiri B <jirib@devio.us>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/interface/vmware/guestinfo.c

index 3e20b8ed5245b5b62dacecf50888bd23f4d14daa..5e08d9471152dfc6760556e31c9d026a473d891c 100644 (file)
@@ -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;