X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=qemu-io.c;h=475a8bd0347a1c037d8b7c33b7beb672ce520dc7;hb=6eebf958abf3f3f701116d4524ef88bb9fd6e341;hp=79be5169532d9da16c55d15ae93872eab7a14e77;hpb=dc0b0616f726956001be09e9a65a6e0b0bd939db;p=qemu.git diff --git a/qemu-io.c b/qemu-io.c index 79be51695..475a8bd03 100644 --- a/qemu-io.c +++ b/qemu-io.c @@ -1766,7 +1766,7 @@ static int openfile(char *name, int flags, int growable) } if (growable) { - if (bdrv_file_open(&bs, name, flags)) { + if (bdrv_file_open(&bs, name, NULL, flags)) { fprintf(stderr, "%s: can't open device %s\n", progname, name); return 1; }