extboot: silence compiler warning
PATCH 1/1 extboot: silence compiler warning
Signed-off-by Jan Kiszka <[email protected]>
---
qemu/hw/extboot.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
qemu/hw/extboot.c +2 -2
@@ -77,8 +77,8 @@ static void extboot_write_cmd(void *opaque, uint32_t addr, uint32_t value)BlockDriverState *bs = opaque;int cylinders, heads, sectors, err;uint64_t nb_sectors; -target_phys_addr_t pa; -int blen; +target_phys_addr_t pa =0 ; +int blen =0 ;void *buf =NULL ;if (cmd->type ==0x01 || cmd->type ==0x02 ) {
Avi Kivity
AppliedJan Kiszka wrote:
Applied, thanks.
Signature · 1 line
error compiling committee.c: too many arguments to function