]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qemu-nbd.c
Replace calls of old bdrv_open
[mirror_qemu.git] / qemu-nbd.c
index 6d854d3c83658ea6070bd450002e57f822fa29bc..25aa913408eb6d33cc5fda3344cefb97332f425e 100644 (file)
@@ -333,7 +333,7 @@ int main(int argc, char **argv)
     if (bs == NULL)
         return 1;
 
-    if (bdrv_open(bs, argv[optind], flags) < 0)
+    if (bdrv_open(bs, argv[optind], flags, NULL) < 0)
         return 1;
 
     fd_size = bs->total_sectors * 512;