소스 검색

[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 년 전
부모
커밋
acd74089f5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/arch/i386/interface/vmware/guestinfo.c

+ 1
- 1
src/arch/i386/interface/vmware/guestinfo.c 파일 보기

@@ -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;

Loading…
취소
저장